#79237E#79237E

#79237E is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.162 H 325.6°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#79237E
RGBrgb(121, 35, 126)
HSLhsl(297, 57%, 32%)
HSVhsv(297, 72%, 49%)
CMYKcmyk(4%, 72.2%, 0%, 50.6%)
CIE-LABlab(31.29, 48.75, -32.91)
CIE-LCHlch(31.29, 58.82, 325.98°)
OKLaboklab(42.88% 0.1335 -0.0914)
OKLCHoklch(42.88% 0.162 325.6)
XYZxyz(12.2518, 6.7742, 20.3968)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79237E #287E23
analogous
#4C237E #79237E #7E2356
triadic
#79237E #7E7923 #237E79
tetradic
#79237E #7E4C23 #287E23 #23567E
square
#79237E #7E4C23 #287E23 #23567E
split-complementary
#79237E #567E23 #237E4C
monochromatic
#1D081E #4B164E #79237E #A730AE #C74ECE

Accessibility & contrast

On white

8.92
#79237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#79237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79237E
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79237E#FFFFFF#000000##FFFFFF
##79237E1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4381
Deuteranopia (green-blind)
#364D7C
Tritanopia (blue-blind)
#7C324E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #79237e;
/* rgb */ color: rgb(121, 35, 126);
/* oklch */ color: oklch(42.9% 0.162 325.6);
Tailwind
colors: {
  custom: {
    50: '#a367a4',
    500: '#79237e',
    950: '#000000',
  },
}
SCSS
$custom: #79237e;
$custom-light: #a367a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79237e",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 296.703,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42877,
    "c": 0.16177,
    "h": 325.6
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#79237E
secondary
#52B04C
accent
#E04850
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79237E

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

Preview Lab → · Contrast checker → · Palette generator →

#79237E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva