#4E1D63#4E1D63

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

Color values

HEX#4E1D63
RGBrgb(78, 29, 99)
HSLhsl(282, 55%, 25%)
HSVhsv(282, 71%, 39%)
CMYKcmyk(21.2%, 70.7%, 0%, 61.2%)
CIE-LABlab(21.58, 35.25, -31.50)
CIE-LCHlch(21.58, 47.27, 318.21°)
OKLaboklab(33.93% 0.0857 -0.0887)
OKLCHoklch(33.93% 0.123 314)
XYZxyz(5.8330, 3.3995, 12.1509)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D63 #32631D
analogous
#2B1D63 #4E1D63 #631D55
triadic
#4E1D63 #634E1D #1D634E
tetradic
#4E1D63 #632B1D #32631D #1D5563
square
#4E1D63 #632B1D #32631D #1D5563
split-complementary
#4E1D63 #55631D #1D632B
monochromatic
#130718 #290F34 #4E1D63 #732B92 #9939C2

Accessibility & contrast

On white

12.50
#4E1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D63
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D63#FFFFFF#000000##FFFFFF
##4E1D631.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#1A3561
Tritanopia (blue-blind)
#4C2B3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1d63;
/* rgb */ color: rgb(78, 29, 99);
/* oklch */ color: oklch(33.9% 0.123 314.0);
Tailwind
colors: {
  custom: {
    50: '#825d90',
    500: '#4e1d63',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d63;
$custom-light: #825d90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d63",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 282,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33931,
    "c": 0.12329,
    "h": 314
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#4E1D63
secondary
#5D9844
accent
#DE4A76
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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