#78286B#78286B

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

Color values

HEX#78286B
RGBrgb(120, 40, 107)
HSLhsl(310, 50%, 31%)
HSVhsv(310, 67%, 47%)
CMYKcmyk(0%, 66.7%, 10.8%, 52.9%)
CIE-LABlab(30.81, 43.04, -21.62)
CIE-LCHlch(30.81, 48.17, 333.32°)
OKLaboklab(42.16% 0.125 -0.0589)
OKLCHoklch(42.16% 0.138 334.8)
XYZxyz(11.1585, 6.5731, 14.5881)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78286B #287835
analogous
#5D2878 #78286B #782843
triadic
#78286B #6B7828 #286B78
tetradic
#78286B #785D28 #287835 #284378
square
#78286B #785D28 #287835 #284378
split-complementary
#78286B #437828 #28785D
monochromatic
#1C0919 #4A1942 #78286B #A63794 #C654B4

Accessibility & contrast

On white

9.07
#78286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#78286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78286B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78286B#FFFFFF#000000##FFFFFF
##78286B1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28416D
Deuteranopia (green-blind)
#424D69
Tritanopia (blue-blind)
#7E2D45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78286b;
/* rgb */ color: rgb(120, 40, 107);
/* oklch */ color: oklch(42.2% 0.138 334.8);
Tailwind
colors: {
  custom: {
    50: '#a26895',
    500: '#78286b',
    950: '#000000',
  },
}
SCSS
$custom: #78286b;
$custom-light: #a26895;
$custom-dark: #000000;
JSON
{
  "hex": "#78286b",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 309.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.13824,
    "h": 334.8
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#78286B
secondary
#52AA60
accent
#DA654E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78286B

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

Preview Lab → · Contrast checker → · Palette generator →

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