#78188D#78188D

#78188D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.186 H 319.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#78188D
RGBrgb(120, 24, 141)
HSLhsl(289, 71%, 32%)
HSVhsv(289, 83%, 55%)
CMYKcmyk(14.9%, 83%, 0%, 44.7%)
CIE-LABlab(30.81, 55.06, -43.03)
CIE-LCHlch(30.81, 69.88, 321.99°)
OKLaboklab(42.82% 0.141 -0.121)
OKLCHoklch(42.82% 0.186 319.4)
XYZxyz(12.8795, 6.5701, 25.7839)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78188D #2D8D18
analogous
#3E188D #78188D #8D1867
triadic
#78188D #8D7818 #188D78
tetradic
#78188D #8D3E18 #2D8D18 #18678D
square
#78188D #8D3E18 #2D8D18 #18678D
split-complementary
#78188D #678D18 #188D3E
monochromatic
#1F0624 #4B0F59 #78188D #A521C1 #C241DF

Accessibility & contrast

On white

9.08
#78188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#78188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78188D
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78188D#FFFFFF#000000##FFFFFF
##78188D1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#783354
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78188d;
/* rgb */ color: rgb(120, 24, 141);
/* oklch */ color: oklch(42.8% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#a363af',
    500: '#78188d',
    950: '#000000',
  },
}
SCSS
$custom: #78188d;
$custom-light: #a363af;
$custom-dark: #000000;
JSON
{
  "hex": "#78188d",
  "rgb": {
    "r": 120,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 289.231,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42816,
    "c": 0.18577,
    "h": 319.4
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#78188D
secondary
#58BF42
accent
#EE3A5A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #78188D

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

Preview Lab → · Contrast checker → · Palette generator →

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