#78287C#78287C

#78287C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.153 H 325.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#78287C
RGBrgb(120, 40, 124)
HSLhsl(297, 51%, 32%)
HSVhsv(297, 68%, 49%)
CMYKcmyk(3.2%, 67.7%, 0%, 51.4%)
CIE-LABlab(31.73, 46.08, -30.96)
CIE-LCHlch(31.73, 55.52, 326.11°)
OKLaboklab(43.13% 0.1265 -0.0858)
OKLCHoklch(43.13% 0.153 325.8)
XYZxyz(12.1424, 6.9667, 19.7700)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78287C #2C7C28
analogous
#4E287C #78287C #7C2856
triadic
#78287C #7C7828 #287C78
tetradic
#78287C #7C4E28 #2C7C28 #28567C
square
#78287C #7C4E28 #2C7C28 #28567C
split-complementary
#78287C #567C28 #287C4E
monochromatic
#1E0A1F #4B194E #78287C #A537AA #C356C8

Accessibility & contrast

On white

8.77
#78287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#78287C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78287C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78287C#FFFFFF#000000##FFFFFF
##78287C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#7B344E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #78287c;
/* rgb */ color: rgb(120, 40, 124);
/* oklch */ color: oklch(43.1% 0.153 325.8);
Tailwind
colors: {
  custom: {
    50: '#a269a2',
    500: '#78287c',
    950: '#000000',
  },
}
SCSS
$custom: #78287c;
$custom-light: #a269a2;
$custom-dark: #000000;
JSON
{
  "hex": "#78287c",
  "rgb": {
    "r": 120,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 297.143,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43125,
    "c": 0.15289,
    "h": 325.8
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#78287C
secondary
#57AD52
accent
#DB4D54
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #78287C

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

Preview Lab → · Contrast checker → · Palette generator →

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