#4E1666#4E1666

#4E1666 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.3% C 0.136 H 313.4°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4E1666
RGBrgb(78, 22, 102)
HSLhsl(282, 65%, 24%)
HSVhsv(282, 78%, 40%)
CMYKcmyk(23.5%, 78.4%, 0%, 60%)
CIE-LABlab(20.65, 39.19, -34.97)
CIE-LCHlch(20.65, 52.52, 318.26°)
OKLaboklab(33.34% 0.0935 -0.0988)
OKLCHoklch(33.34% 0.136 313.4)
XYZxyz(5.8266, 3.1530, 12.8695)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1666 #2E6616
analogous
#261666 #4E1666 #661656
triadic
#4E1666 #664E16 #16664E
tetradic
#4E1666 #662616 #2E6616 #165666
square
#4E1666 #662616 #2E6616 #165666
split-complementary
#4E1666 #566616 #166626
monochromatic
#130519 #280B34 #4E1666 #742198 #9B2CCB

Accessibility & contrast

On white

12.88
#4E1666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1666
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1666#FFFFFF#000000##FFFFFF
##4E16661.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F68
Deuteranopia (green-blind)
#0F3364
Tritanopia (blue-blind)
#4B283D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1666;
/* rgb */ color: rgb(78, 22, 102);
/* oklch */ color: oklch(33.3% 0.136 313.4);
Tailwind
colors: {
  custom: {
    50: '#835a92',
    500: '#4e1666',
    950: '#000000',
  },
}
SCSS
$custom: #4e1666;
$custom-light: #835a92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1666",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 282,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33337,
    "c": 0.13598,
    "h": 313.4
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#4E1666
secondary
#589D3B
accent
#E84072
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1666

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

Preview Lab → · Contrast checker → · Palette generator →

#4E1666 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva