#78137E#78137E

#78137E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.178 H 325.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#78137E
RGBrgb(120, 19, 126)
HSLhsl(297, 74%, 28%)
HSVhsv(297, 85%, 49%)
CMYKcmyk(4.8%, 84.9%, 0%, 50.6%)
CIE-LABlab(29.33, 53.66, -36.05)
CIE-LCHlch(29.33, 64.65, 326.11°)
OKLaboklab(41.45% 0.1465 -0.1005)
OKLCHoklch(41.45% 0.178 325.6)
XYZxyz(11.7442, 5.9660, 20.2676)
Luminance0.0597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78137E #197E13
analogous
#43137E #78137E #7E134E
triadic
#78137E #7E7813 #137E78
tetradic
#78137E #7E4313 #197E13 #134E7E
square
#78137E #7E4313 #197E13 #134E7E
split-complementary
#78137E #4E7E13 #137E43
monochromatic
#19041B #450B49 #78137E #AB1BB3 #D52CDF

Accessibility & contrast

On white

9.58
#78137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#78137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78137E
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78137E#FFFFFF#000000##FFFFFF
##78137E1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#7B294A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78137e;
/* rgb */ color: rgb(120, 19, 126);
/* oklch */ color: oklch(41.4% 0.178 325.6);
Tailwind
colors: {
  custom: {
    50: '#a360a4',
    500: '#78137e',
    950: '#000000',
  },
}
SCSS
$custom: #78137e;
$custom-light: #a360a4;
$custom-dark: #000000;
JSON
{
  "hex": "#78137e",
  "rgb": {
    "r": 120,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 296.636,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41448,
    "c": 0.17768,
    "h": 325.6
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#78137E
secondary
#40B439
accent
#F03742
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #78137E

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

Preview Lab → · Contrast checker → · Palette generator →

#78137E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva