#79237A#79237A

#79237A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.6% C 0.158 H 327.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#79237A
RGBrgb(121, 35, 122)
HSLhsl(299, 55%, 31%)
HSVhsv(299, 71%, 48%)
CMYKcmyk(0.8%, 71.3%, 0%, 52.2%)
CIE-LABlab(31.05, 48.02, -30.77)
CIE-LCHlch(31.05, 57.03, 327.35°)
OKLaboklab(42.63% 0.1334 -0.0852)
OKLCHoklch(42.63% 0.158 327.4)
XYZxyz(11.9989, 6.6730, 19.0646)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79237A #247A23
analogous
#4D237A #79237A #7A234F
triadic
#79237A #7A7923 #237A79
tetradic
#79237A #7A4D23 #247A23 #234F7A
square
#79237A #7A4D23 #247A23 #234F7A
split-complementary
#79237A #4F7A23 #237A4D
monochromatic
#1B081B #4A154A #79237A #A831AA #CA4CCC

Accessibility & contrast

On white

9.00
#79237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#79237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79237A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79237A#FFFFFF#000000##FFFFFF
##79237A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427C
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#7D304C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79237a;
/* rgb */ color: rgb(121, 35, 122);
/* oklch */ color: oklch(42.6% 0.158 327.4);
Tailwind
colors: {
  custom: {
    50: '#a366a1',
    500: '#79237a',
    950: '#000000',
  },
}
SCSS
$custom: #79237a;
$custom-light: #a366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79237a",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 299.31,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.15832,
    "h": 327.4
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#79237A
secondary
#4DAD4C
accent
#DF494B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #79237A

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

Preview Lab → · Contrast checker → · Palette generator →

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