#78146F#78146F

#78146F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.165 H 332.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#78146F
RGBrgb(120, 20, 111)
HSLhsl(305, 71%, 27%)
HSVhsv(305, 83%, 47%)
CMYKcmyk(0%, 83.3%, 7.5%, 52.9%)
CIE-LABlab(28.49, 50.89, -27.84)
CIE-LCHlch(28.49, 58.01, 331.32°)
OKLaboklab(40.56% 0.1464 -0.0766)
OKLCHoklch(40.56% 0.165 332.4)
XYZxyz(10.8652, 5.6420, 15.5526)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78146F #14781D
analogous
#4F1478 #78146F #78143D
triadic
#78146F #6F7814 #146F78
tetradic
#78146F #784F14 #14781D #143D78
square
#78146F #784F14 #14781D #143D78
split-complementary
#78146F #3D7814 #14784F
monochromatic
#1A0418 #440B3E #78146F #AC1DA0 #DC2BCC

Accessibility & contrast

On white

9.87
#78146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#78146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78146F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78146F#FFFFFF#000000##FFFFFF
##78146F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3A71
Deuteranopia (green-blind)
#37486D
Tritanopia (blue-blind)
#7E2142
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #78146f;
/* rgb */ color: rgb(120, 20, 111);
/* oklch */ color: oklch(40.6% 0.165 332.4);
Tailwind
colors: {
  custom: {
    50: '#a26099',
    500: '#78146f',
    950: '#000000',
  },
}
SCSS
$custom: #78146f;
$custom-light: #a26099;
$custom-dark: #000000;
JSON
{
  "hex": "#78146f",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 305.4,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40557,
    "c": 0.16527,
    "h": 332.4
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#78146F
secondary
#3AAE44
accent
#EE4A3A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #78146F

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

Preview Lab → · Contrast checker → · Palette generator →

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