#78286E#78286E

#78286E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.141 H 333.1°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#78286E
RGBrgb(120, 40, 110)
HSLhsl(308, 50%, 31%)
HSVhsv(308, 67%, 47%)
CMYKcmyk(0%, 66.7%, 8.3%, 52.9%)
CIE-LABlab(30.97, 43.55, -23.30)
CIE-LCHlch(30.97, 49.40, 331.85°)
OKLaboklab(42.32% 0.1254 -0.0637)
OKLCHoklch(42.32% 0.141 333.1)
XYZxyz(11.3190, 6.6373, 15.4338)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78286E #287832
analogous
#5A2878 #78286E #782846
triadic
#78286E #6E7828 #286E78
tetradic
#78286E #785A28 #287832 #284678
square
#78286E #785A28 #287832 #284678
split-complementary
#78286E #467828 #28785A
monochromatic
#1C091A #4A1944 #78286E #A63798 #C654B8

Accessibility & contrast

On white

9.02
#78286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#78286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78286E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78286E#FFFFFF#000000##FFFFFF
##78286E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264170
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#7D2F47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78286e;
/* rgb */ color: rgb(120, 40, 110);
/* oklch */ color: oklch(42.3% 0.141 333.1);
Tailwind
colors: {
  custom: {
    50: '#a26898',
    500: '#78286e',
    950: '#000000',
  },
}
SCSS
$custom: #78286e;
$custom-light: #a26898;
$custom-dark: #000000;
JSON
{
  "hex": "#78286e",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 307.5,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.14071,
    "h": 333.1
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#78286E
secondary
#52AA5D
accent
#DA604E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #78286E

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

Preview Lab → · Contrast checker → · Palette generator →

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