#78146D#78146D

#78146D is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.164 H 333.4°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#78146D
RGBrgb(120, 20, 109)
HSLhsl(307, 71%, 27%)
HSVhsv(307, 83%, 47%)
CMYKcmyk(0%, 83.3%, 9.2%, 52.9%)
CIE-LABlab(28.38, 50.57, -26.74)
CIE-LCHlch(28.38, 57.21, 332.14°)
OKLaboklab(40.44% 0.1464 -0.0735)
OKLCHoklch(40.44% 0.164 333.4)
XYZxyz(10.7563, 5.5985, 14.9791)
Luminance0.0560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78146D #14781F
analogous
#511478 #78146D #78143B
triadic
#78146D #6D7814 #146D78
tetradic
#78146D #785114 #14781F #143B78
square
#78146D #785114 #14781F #143B78
split-complementary
#78146D #3B7814 #147851
monochromatic
#1A0418 #440B3D #78146D #AC1D9D #DC2BC8

Accessibility & contrast

On white

9.91
#78146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#78146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78146D
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78146D#FFFFFF#000000##FFFFFF
##78146D1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3A6F
Deuteranopia (green-blind)
#38486B
Tritanopia (blue-blind)
#7E2041
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78146d;
/* rgb */ color: rgb(120, 20, 109);
/* oklch */ color: oklch(40.4% 0.164 333.4);
Tailwind
colors: {
  custom: {
    50: '#a26097',
    500: '#78146d',
    950: '#000000',
  },
}
SCSS
$custom: #78146d;
$custom-light: #a26097;
$custom-dark: #000000;
JSON
{
  "hex": "#78146d",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 306.6,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.16378,
    "h": 333.4
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#78146D
secondary
#3AAE47
accent
#EE4D3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #78146D

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

Preview Lab → · Contrast checker → · Palette generator →

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