#78287D#78287D

#78287D is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.154 H 325.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#78287D
RGBrgb(120, 40, 125)
HSLhsl(296, 52%, 32%)
HSVhsv(296, 68%, 49%)
CMYKcmyk(4%, 68%, 0%, 51%)
CIE-LABlab(31.79, 46.27, -31.49)
CIE-LCHlch(31.79, 55.97, 325.76°)
OKLaboklab(43.19% 0.1266 -0.0874)
OKLCHoklch(43.19% 0.154 325.4)
XYZxyz(12.2059, 6.9921, 20.1048)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78287D #2D7D28
analogous
#4E287D #78287D #7D2857
triadic
#78287D #7D7828 #287D78
tetradic
#78287D #7D4E28 #2D7D28 #28577D
square
#78287D #7D4E28 #2D7D28 #28577D
split-complementary
#78287D #577D28 #287D4E
monochromatic
#1F0A20 #4B194F #78287D #A537AB #C256C9

Accessibility & contrast

On white

8.76
#78287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#78287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78287D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78287D#FFFFFF#000000##FFFFFF
##78287D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#394E7B
Tritanopia (blue-blind)
#7B354F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78287d;
/* rgb */ color: rgb(120, 40, 125);
/* oklch */ color: oklch(43.2% 0.154 325.4);
Tailwind
colors: {
  custom: {
    50: '#a269a3',
    500: '#78287d',
    950: '#000000',
  },
}
SCSS
$custom: #78287d;
$custom-light: #a269a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78287d",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 296.471,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43186,
    "c": 0.15379,
    "h": 325.4
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#78287D
secondary
#58AE53
accent
#DB4D55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78287D

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

Preview Lab → · Contrast checker → · Palette generator →

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