#78237E#78237E

#78237E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.161 H 325.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#78237E
RGBrgb(120, 35, 126)
HSLhsl(296, 57%, 32%)
HSVhsv(296, 72%, 49%)
CMYKcmyk(4.8%, 72.2%, 0%, 50.6%)
CIE-LABlab(31.12, 48.51, -33.18)
CIE-LCHlch(31.12, 58.78, 325.63°)
OKLaboklab(42.72% 0.1323 -0.0923)
OKLCHoklch(42.72% 0.161 325.1)
XYZxyz(12.1124, 6.7023, 20.3903)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78237E #297E23
analogous
#4B237E #78237E #7E2357
triadic
#78237E #7E7823 #237E78
tetradic
#78237E #7E4B23 #297E23 #23577E
square
#78237E #7E4B23 #297E23 #23577E
split-complementary
#78237E #577E23 #237E4B
monochromatic
#1D081E #4A164E #78237E #A630AE #C54ECE

Accessibility & contrast

On white

8.97
#78237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#78237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78237E
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78237E#FFFFFF#000000##FFFFFF
##78237E1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4381
Deuteranopia (green-blind)
#354D7C
Tritanopia (blue-blind)
#7B324E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78237e;
/* rgb */ color: rgb(120, 35, 126);
/* oklch */ color: oklch(42.7% 0.161 325.1);
Tailwind
colors: {
  custom: {
    50: '#a266a4',
    500: '#78237e',
    950: '#000000',
  },
}
SCSS
$custom: #78237e;
$custom-light: #a266a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78237e",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 296.044,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42724,
    "c": 0.16126,
    "h": 325.1
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#78237E
secondary
#53B04C
accent
#E04852
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78237E

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

Preview Lab → · Contrast checker → · Palette generator →

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