Skip to content

#791B60

≈ purple · rgb(121, 27, 96)
Color formats
HEX#791B60
RGBrgb(121, 27, 96)
HSLhsl(316, 64%, 29%)
HSVhsv(316, 78%, 47%)
OKLCHoklch(40% 0.15 341)
CMYKcmyk(0%, 78%, 21%, 53%)
Contrast & accessibility
On white9.82:1AA pass
On black2.14:1below AA
Best text color#FFFFFF
Nearest CSS name: purple
Copy-ready code
CSS custom properties
:root {
  --purple: #791b60;
  --purple-rgb: 121 27 96;
  --purple-oklch: oklch(40% 0.15 341);
}
The space-separated triple lets you set alpha without a second variable:
background: rgb(var(--purple-rgb) / 40%);
Tailwind (arbitrary value)
bg-[#791b60] text-[#791b60] border-[#791b60]
Shades & tints
Color harmonies
About this color

#791B60 is a color with the RGB value rgb(121, 27, 96). Its closest CSS named color is "purple". On this page you'll find every format (HEX, RGB, HSL, HSV, OKLCH, CMYK), WCAG contrast against white and black, a full 50–950 shade scale, and complementary, analogous and triadic harmonies — each linking to its own color page.

Related

Convert #791B60 to other formats

Palettes with a similar color

Gradients with a similar color

Copied