#4E1C66#4E1C66

#4E1C66 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.128 H 312.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#4E1C66
RGBrgb(78, 28, 102)
HSLhsl(281, 57%, 25%)
HSVhsv(281, 73%, 40%)
CMYKcmyk(23.5%, 72.5%, 0%, 60%)
CIE-LABlab(21.62, 36.45, -33.41)
CIE-LCHlch(21.62, 49.44, 317.50°)
OKLaboklab(34.03% 0.0867 -0.0942)
OKLCHoklch(34.03% 0.128 312.6)
XYZxyz(5.9550, 3.4097, 12.9122)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C66 #34661C
analogous
#291C66 #4E1C66 #661C59
triadic
#4E1C66 #664E1C #1C664E
tetradic
#4E1C66 #66291C #34661C #1C5966
square
#4E1C66 #66291C #34661C #1C5966
split-complementary
#4E1C66 #59661C #1C6629
monochromatic
#120718 #290F36 #4E1C66 #732996 #9736C6

Accessibility & contrast

On white

12.49
#4E1C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#4E1C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C66
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C66#FFFFFF#000000##FFFFFF
##4E1C661.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1c66;
/* rgb */ color: rgb(78, 28, 102);
/* oklch */ color: oklch(34.0% 0.128 312.6);
Tailwind
colors: {
  custom: {
    50: '#825d92',
    500: '#4e1c66',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c66;
$custom-light: #825d92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c66",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 280.541,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.12803,
    "h": 312.6
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#4E1C66
secondary
#5F9B43
accent
#E04879
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1C66

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

Preview Lab → · Contrast checker → · Palette generator →

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