#78146A#78146A

#78146A is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.162 H 334.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#78146A
RGBrgb(120, 20, 106)
HSLhsl(308, 71%, 27%)
HSVhsv(308, 83%, 47%)
CMYKcmyk(0%, 83.3%, 11.7%, 52.9%)
CIE-LABlab(28.21, 50.10, -25.07)
CIE-LCHlch(28.21, 56.02, 333.42°)
OKLaboklab(40.26% 0.1463 -0.0686)
OKLCHoklch(40.26% 0.162 334.9)
XYZxyz(10.5975, 5.5350, 14.1431)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78146A #147822
analogous
#541478 #78146A #781438
triadic
#78146A #6A7814 #146A78
tetradic
#78146A #785414 #147822 #143878
square
#78146A #785414 #147822 #143878
split-complementary
#78146A #387814 #147854
monochromatic
#1A0417 #440B3C #78146A #AC1D98 #DC2BC3

Accessibility & contrast

On white

9.97
#78146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#78146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78146A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78146A#FFFFFF#000000##FFFFFF
##78146A1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13396C
Deuteranopia (green-blind)
#3A4868
Tritanopia (blue-blind)
#7E1E3F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78146a;
/* rgb */ color: rgb(120, 20, 106);
/* oklch */ color: oklch(40.3% 0.162 334.9);
Tailwind
colors: {
  custom: {
    50: '#a26095',
    500: '#78146a',
    950: '#000000',
  },
}
SCSS
$custom: #78146a;
$custom-light: #a26095;
$custom-dark: #000000;
JSON
{
  "hex": "#78146a",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 308.4,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.16158,
    "h": 334.9
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#78146A
secondary
#3AAE4A
accent
#EE533A
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #78146A

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

Preview Lab → · Contrast checker → · Palette generator →

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