#78236E#78236E

#78236E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.148 H 333.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#78236E
RGBrgb(120, 35, 110)
HSLhsl(307, 55%, 30%)
HSVhsv(307, 71%, 47%)
CMYKcmyk(0%, 70.8%, 8.3%, 52.9%)
CIE-LABlab(30.21, 45.67, -24.49)
CIE-LCHlch(30.21, 51.82, 331.80°)
OKLaboklab(41.78% 0.1316 -0.0671)
OKLCHoklch(41.78% 0.148 333)
XYZxyz(11.1613, 6.3218, 15.3812)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78236E #23782D
analogous
#572378 #78236E #782343
triadic
#78236E #6E7823 #236E78
tetradic
#78236E #785723 #23782D #234378
square
#78236E #785723 #23782D #234378
split-complementary
#78236E #437823 #237857
monochromatic
#190717 #491543 #78236E #A73199 #CA4BBB

Accessibility & contrast

On white

9.27
#78236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#78236E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78236E
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78236E#FFFFFF#000000##FFFFFF
##78236E1.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F70
Deuteranopia (green-blind)
#3E4B6C
Tritanopia (blue-blind)
#7D2B45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78236e;
/* rgb */ color: rgb(120, 35, 110);
/* oklch */ color: oklch(41.8% 0.148 333.0);
Tailwind
colors: {
  custom: {
    50: '#a26698',
    500: '#78236e',
    950: '#000000',
  },
}
SCSS
$custom: #78236e;
$custom-light: #a26698;
$custom-dark: #000000;
JSON
{
  "hex": "#78236e",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 307.059,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41775,
    "c": 0.14772,
    "h": 333
  },
  "luminance": 0.06321
}

Semantic roles & 50–950 ramp

primary
#78236E
secondary
#4CAB57
accent
#DE5B4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78236E

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

Preview Lab → · Contrast checker → · Palette generator →

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