#78236A#78236A

#78236A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.145 H 335.2°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#78236A
RGBrgb(120, 35, 106)
HSLhsl(310, 55%, 30%)
HSVhsv(310, 71%, 47%)
CMYKcmyk(0%, 70.8%, 11.7%, 52.9%)
CIE-LABlab(30.00, 45.00, -22.25)
CIE-LCHlch(30.00, 50.20, 333.69°)
OKLaboklab(41.56% 0.1312 -0.0607)
OKLCHoklch(41.56% 0.145 335.2)
XYZxyz(10.9484, 6.2367, 14.2600)
Luminance0.0624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78236A #237831
analogous
#5B2378 #78236A #782340
triadic
#78236A #6A7823 #236A78
tetradic
#78236A #785B23 #237831 #234078
square
#78236A #785B23 #237831 #234078
split-complementary
#78236A #407823 #23785B
monochromatic
#190716 #491540 #78236A #A73194 #CA4BB5

Accessibility & contrast

On white

9.34
#78236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#78236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78236A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78236A#FFFFFF#000000##FFFFFF
##78236A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6C
Deuteranopia (green-blind)
#404B68
Tritanopia (blue-blind)
#7E2943
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78236a;
/* rgb */ color: rgb(120, 35, 106);
/* oklch */ color: oklch(41.6% 0.145 335.2);
Tailwind
colors: {
  custom: {
    50: '#a26695',
    500: '#78236a',
    950: '#000000',
  },
}
SCSS
$custom: #78236a;
$custom-light: #a26695;
$custom-dark: #000000;
JSON
{
  "hex": "#78236a",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 309.882,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41556,
    "c": 0.14452,
    "h": 335.2
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#78236A
secondary
#4CAB5C
accent
#DE624A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78236A

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

Preview Lab → · Contrast checker → · Palette generator →

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