#4E1B66#4E1B66

#4E1B66 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.9% C 0.129 H 312.8°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1B66
RGBrgb(78, 27, 102)
HSLhsl(281, 58%, 25%)
HSVhsv(281, 74%, 40%)
CMYKcmyk(23.5%, 73.5%, 0%, 60%)
CIE-LABlab(21.44, 36.94, -33.68)
CIE-LCHlch(21.44, 49.99, 317.64°)
OKLaboklab(33.9% 0.0879 -0.095)
OKLCHoklch(33.9% 0.129 312.8)
XYZxyz(5.9317, 3.3630, 12.9045)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1B66 #33661B
analogous
#281B66 #4E1B66 #661B58
triadic
#4E1B66 #664E1B #1B664E
tetradic
#4E1B66 #66281B #33661B #1B5866
square
#4E1B66 #66281B #33661B #1B5866
split-complementary
#4E1B66 #58661B #1B6628
monochromatic
#130618 #290E36 #4E1B66 #732896 #9835C7

Accessibility & contrast

On white

12.56
#4E1B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1B66
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1B66#FFFFFF#000000##FFFFFF
##4E1B661.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003168
Deuteranopia (green-blind)
#143564
Tritanopia (blue-blind)
#4B2B3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1b66;
/* rgb */ color: rgb(78, 27, 102);
/* oklch */ color: oklch(33.9% 0.129 312.8);
Tailwind
colors: {
  custom: {
    50: '#835c92',
    500: '#4e1b66',
    950: '#000000',
  },
}
SCSS
$custom: #4e1b66;
$custom-light: #835c92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1b66",
  "rgb": {
    "r": 78,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 280.8,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.12944,
    "h": 312.8
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#4E1B66
secondary
#5E9B41
accent
#E14678
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1B66

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

Preview Lab → · Contrast checker → · Palette generator →

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