#78237A#78237A

#78237A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.158 H 326.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#78237A
RGBrgb(120, 35, 122)
HSLhsl(299, 55%, 31%)
HSVhsv(299, 71%, 48%)
CMYKcmyk(1.6%, 71.3%, 0%, 52.2%)
CIE-LABlab(30.88, 47.78, -31.05)
CIE-LCHlch(30.88, 56.98, 326.98°)
OKLaboklab(42.48% 0.1323 -0.086)
OKLCHoklch(42.48% 0.158 326.9)
XYZxyz(11.8594, 6.6011, 19.0581)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78237A #257A23
analogous
#4C237A #78237A #7A2350
triadic
#78237A #7A7823 #237A78
tetradic
#78237A #7A4C23 #257A23 #23507A
square
#78237A #7A4C23 #257A23 #23507A
split-complementary
#78237A #507A23 #237A4C
monochromatic
#1A081B #49154A #78237A #A731AA #C94CCC

Accessibility & contrast

On white

9.05
#78237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#78237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78237A
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78237A#FFFFFF#000000##FFFFFF
##78237A1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13427C
Deuteranopia (green-blind)
#384C78
Tritanopia (blue-blind)
#7B304C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78237a;
/* rgb */ color: rgb(120, 35, 122);
/* oklch */ color: oklch(42.5% 0.158 326.9);
Tailwind
colors: {
  custom: {
    50: '#a266a1',
    500: '#78237a',
    950: '#000000',
  },
}
SCSS
$custom: #78237a;
$custom-light: #a266a1;
$custom-dark: #000000;
JSON
{
  "hex": "#78237a",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 298.621,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.15778,
    "h": 326.9
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#78237A
secondary
#4EAD4C
accent
#DF494D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #78237A

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

Preview Lab → · Contrast checker → · Palette generator →

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