#78286C#78286C

#78286C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.139 H 334.2°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#78286C
RGBrgb(120, 40, 108)
HSLhsl(309, 50%, 31%)
HSVhsv(309, 67%, 47%)
CMYKcmyk(0%, 66.7%, 10%, 52.9%)
CIE-LABlab(30.86, 43.21, -22.19)
CIE-LCHlch(30.86, 48.57, 332.82°)
OKLaboklab(42.22% 0.1252 -0.0605)
OKLCHoklch(42.22% 0.139 334.2)
XYZxyz(11.2114, 6.5943, 14.8668)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78286C #287834
analogous
#5C2878 #78286C #782844
triadic
#78286C #6C7828 #286C78
tetradic
#78286C #785C28 #287834 #284478
square
#78286C #785C28 #287834 #284478
split-complementary
#78286C #447828 #28785C
monochromatic
#1C0919 #4A1943 #78286C #A63795 #C654B5

Accessibility & contrast

On white

9.06
#78286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#78286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78286C
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78286C#FFFFFF#000000##FFFFFF
##78286C1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27416E
Deuteranopia (green-blind)
#414D6A
Tritanopia (blue-blind)
#7E2E46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78286c;
/* rgb */ color: rgb(120, 40, 108);
/* oklch */ color: oklch(42.2% 0.139 334.2);
Tailwind
colors: {
  custom: {
    50: '#a26896',
    500: '#78286c',
    950: '#000000',
  },
}
SCSS
$custom: #78286c;
$custom-light: #a26896;
$custom-dark: #000000;
JSON
{
  "hex": "#78286c",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 309,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42216,
    "c": 0.13905,
    "h": 334.2
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#78286C
secondary
#52AA5F
accent
#DA634E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78286C

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

Preview Lab → · Contrast checker → · Palette generator →

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