#78236D#78236D

#78236D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.147 H 333.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#78236D
RGBrgb(120, 35, 109)
HSLhsl(308, 55%, 30%)
HSVhsv(308, 71%, 47%)
CMYKcmyk(0%, 70.8%, 9.2%, 52.9%)
CIE-LABlab(30.16, 45.50, -23.93)
CIE-LCHlch(30.16, 51.41, 332.25°)
OKLaboklab(41.72% 0.1315 -0.0655)
OKLCHoklch(41.72% 0.147 333.5)
XYZxyz(11.1071, 6.3002, 15.0961)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78236D #23782E
analogous
#592378 #78236D #782342
triadic
#78236D #6D7823 #236D78
tetradic
#78236D #785923 #23782E #234278
square
#78236D #785923 #23782E #234278
split-complementary
#78236D #427823 #237859
monochromatic
#190717 #491542 #78236D #A73198 #CA4BBA

Accessibility & contrast

On white

9.29
#78236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78236D
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78236D#FFFFFF#000000##FFFFFF
##78236D1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#3E4B6B
Tritanopia (blue-blind)
#7E2A45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78236d;
/* rgb */ color: rgb(120, 35, 109);
/* oklch */ color: oklch(41.7% 0.147 333.5);
Tailwind
colors: {
  custom: {
    50: '#a26697',
    500: '#78236d',
    950: '#000000',
  },
}
SCSS
$custom: #78236d;
$custom-light: #a26697;
$custom-dark: #000000;
JSON
{
  "hex": "#78236d",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 307.765,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.14691,
    "h": 333.5
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#78236D
secondary
#4CAB58
accent
#DE5D4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78236D

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

Preview Lab → · Contrast checker → · Palette generator →

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