#78196D#78196D

#78196D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.159 H 333.4°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#78196D
RGBrgb(120, 25, 109)
HSLhsl(307, 66%, 28%)
HSVhsv(307, 79%, 47%)
CMYKcmyk(0%, 79.2%, 9.2%, 52.9%)
CIE-LABlab(28.89, 49.11, -25.93)
CIE-LCHlch(28.89, 55.53, 332.16°)
OKLaboklab(40.8% 0.1421 -0.0712)
OKLCHoklch(40.8% 0.159 333.4)
XYZxyz(10.8538, 5.7934, 15.0116)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78196D #197824
analogous
#531978 #78196D #78193D
triadic
#78196D #6D7819 #196D78
tetradic
#78196D #785319 #197824 #193D78
square
#78196D #785319 #197824 #193D78
split-complementary
#78196D #3D7819 #197853
monochromatic
#190517 #450E3F #78196D #AB249B #D536C3

Accessibility & contrast

On white

9.73
#78196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#78196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78196D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78196D#FFFFFF#000000##FFFFFF
##78196D1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6F
Deuteranopia (green-blind)
#3A496B
Tritanopia (blue-blind)
#7E2342
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #78196d;
/* rgb */ color: rgb(120, 25, 109);
/* oklch */ color: oklch(40.8% 0.159 333.4);
Tailwind
colors: {
  custom: {
    50: '#a26297',
    500: '#78196d',
    950: '#000000',
  },
}
SCSS
$custom: #78196d;
$custom-light: #a26297;
$custom-dark: #000000;
JSON
{
  "hex": "#78196d",
  "rgb": {
    "r": 120,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 306.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.15891,
    "h": 333.4
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#78196D
secondary
#40AD4D
accent
#E8533F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78196D

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

Preview Lab → · Contrast checker → · Palette generator →

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