#792576#792576

#792576 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.152 H 329.3°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#792576
RGBrgb(121, 37, 118)
HSLhsl(302, 53%, 31%)
HSVhsv(302, 69%, 47%)
CMYKcmyk(0%, 69.4%, 2.5%, 52.5%)
CIE-LABlab(31.11, 46.50, -28.15)
CIE-LCHlch(31.11, 54.36, 328.81°)
OKLaboklab(42.6% 0.131 -0.0776)
OKLCHoklch(42.6% 0.152 329.3)
XYZxyz(11.8166, 6.6969, 17.8063)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792576 #257928
analogous
#522579 #792576 #79254C
triadic
#792576 #767925 #257679
tetradic
#792576 #795225 #257928 #254C79
square
#792576 #795225 #257928 #254C79
split-complementary
#792576 #4C7925 #257952
monochromatic
#1B081B #4A1748 #792576 #A833A4 #C94FC5

Accessibility & contrast

On white

8.98
#792576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#792576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792576
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792576#FFFFFF#000000##FFFFFF
##7925761.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#3C4D74
Tritanopia (blue-blind)
#7D2F4A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #792576;
/* rgb */ color: rgb(121, 37, 118);
/* oklch */ color: oklch(42.6% 0.152 329.3);
Tailwind
colors: {
  custom: {
    50: '#a3679e',
    500: '#792576',
    950: '#000000',
  },
}
SCSS
$custom: #792576;
$custom-light: #a3679e;
$custom-dark: #000000;
JSON
{
  "hex": "#792576",
  "rgb": {
    "r": 121,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 302.143,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42597,
    "c": 0.15228,
    "h": 329.3
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#792576
secondary
#4EAB52
accent
#DD504B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #792576

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#792576 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva