#4E1667#4E1667

#4E1667 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.137 H 312.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#4E1667
RGBrgb(78, 22, 103)
HSLhsl(281, 65%, 25%)
HSVhsv(281, 79%, 40%)
CMYKcmyk(24.3%, 78.6%, 0%, 59.6%)
CIE-LABlab(20.72, 39.42, -35.50)
CIE-LCHlch(20.72, 53.05, 318.00°)
OKLaboklab(33.42% 0.0933 -0.1003)
OKLCHoklch(33.42% 0.137 312.9)
XYZxyz(5.8765, 3.1730, 13.1322)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1667 #2F6716
analogous
#251667 #4E1667 #671658
triadic
#4E1667 #674E16 #16674E
tetradic
#4E1667 #672516 #2F6716 #165867
square
#4E1667 #672516 #2F6716 #165867
split-complementary
#4E1667 #586716 #166725
monochromatic
#130519 #280B35 #4E1667 #742199 #9A2CCC

Accessibility & contrast

On white

12.85
#4E1667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1667
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1667#FFFFFF#000000##FFFFFF
##4E16671.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1667;
/* rgb */ color: rgb(78, 22, 103);
/* oklch */ color: oklch(33.4% 0.137 312.9);
Tailwind
colors: {
  custom: {
    50: '#835a93',
    500: '#4e1667',
    950: '#000000',
  },
}
SCSS
$custom: #4e1667;
$custom-light: #835a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1667",
  "rgb": {
    "r": 78,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 281.481,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33416,
    "c": 0.13701,
    "h": 312.9
  },
  "luminance": 0.03173
}

Semantic roles & 50–950 ramp

primary
#4E1667
secondary
#5A9E3B
accent
#E84074
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1667

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

Preview Lab → · Contrast checker → · Palette generator →

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