#4E1E56#4E1E56

#4E1E56 is a dark, moderate purple. Relative luminance 0.032; OKLCH L 33.2% C 0.108 H 321.7°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#4E1E56
RGBrgb(78, 30, 86)
HSLhsl(291, 48%, 23%)
HSVhsv(291, 65%, 34%)
CMYKcmyk(9.3%, 65.1%, 0%, 66.3%)
CIE-LABlab(20.91, 31.77, -23.96)
CIE-LCHlch(20.91, 39.79, 322.98°)
OKLaboklab(33.17% 0.0844 -0.0666)
OKLCHoklch(33.17% 0.108 321.7)
XYZxyz(5.2857, 3.2204, 9.1455)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E56 #26561E
analogous
#321E56 #4E1E56 #561E42
triadic
#4E1E56 #564E1E #1E564E
tetradic
#4E1E56 #56321E #26561E #1E4256
square
#4E1E56 #56321E #26561E #1E4256
split-complementary
#4E1E56 #42561E #1E5632
monochromatic
#150817 #250E29 #4E1E56 #772E83 #A03EB1

Accessibility & contrast

On white

12.77
#4E1E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E56
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E56#FFFFFF#000000##FFFFFF
##4E1E561.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122F58
Deuteranopia (green-blind)
#243455
Tritanopia (blue-blind)
#4F2737
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1e56;
/* rgb */ color: rgb(78, 30, 86);
/* oklch */ color: oklch(33.2% 0.108 321.7);
Tailwind
colors: {
  custom: {
    50: '#815d86',
    500: '#4e1e56',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e56;
$custom-light: #815d86;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e56",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 291.429,
    "s": 48.276,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33169,
    "c": 0.10753,
    "h": 321.7
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#4E1E56
secondary
#4F8B45
accent
#D85063
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1E56

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

Preview Lab → · Contrast checker → · Palette generator →

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