#78137F#78137F

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

Color values

HEX#78137F
RGBrgb(120, 19, 127)
HSLhsl(296, 74%, 29%)
HSVhsv(296, 85%, 50%)
CMYKcmyk(5.5%, 85%, 0%, 50.2%)
CIE-LABlab(29.39, 53.84, -36.57)
CIE-LCHlch(29.39, 65.09, 325.81°)
OKLaboklab(41.52% 0.1464 -0.102)
OKLCHoklch(41.52% 0.178 325.1)
XYZxyz(11.8091, 5.9919, 20.6091)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78137F #1A7F13
analogous
#42137F #78137F #7F1350
triadic
#78137F #7F7813 #137F78
tetradic
#78137F #7F4213 #1A7F13 #13507F
square
#78137F #7F4213 #1A7F13 #13507F
split-complementary
#78137F #507F13 #137F42
monochromatic
#19041B #460B4A #78137F #AA1BB4 #D42DE0

Accessibility & contrast

On white

9.55
#78137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#78137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78137F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78137F#FFFFFF#000000##FFFFFF
##78137F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#7B294B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78137f;
/* rgb */ color: rgb(120, 19, 127);
/* oklch */ color: oklch(41.5% 0.178 325.1);
Tailwind
colors: {
  custom: {
    50: '#a360a5',
    500: '#78137f',
    950: '#000000',
  },
}
SCSS
$custom: #78137f;
$custom-light: #a360a5;
$custom-dark: #000000;
JSON
{
  "hex": "#78137f",
  "rgb": {
    "r": 120,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 296.111,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.17847,
    "h": 325.1
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#78137F
secondary
#41B439
accent
#F13743
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10050F
muted
#7F7A7F

Preview Lab

Preview with #78137F

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

Preview Lab → · Contrast checker → · Palette generator →

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