#4E1E63#4E1E63

#4E1E63 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.1% C 0.122 H 313.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#4E1E63
RGBrgb(78, 30, 99)
HSLhsl(282, 53%, 25%)
HSVhsv(282, 70%, 39%)
CMYKcmyk(21.2%, 69.7%, 0%, 61.2%)
CIE-LABlab(21.76, 34.74, -31.21)
CIE-LCHlch(21.76, 46.70, 318.07°)
OKLaboklab(34.06% 0.0844 -0.0878)
OKLCHoklch(34.06% 0.122 313.9)
XYZxyz(5.8579, 3.4493, 12.1592)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E63 #33631E
analogous
#2B1E63 #4E1E63 #631E55
triadic
#4E1E63 #634E1E #1E634E
tetradic
#4E1E63 #632B1E #33631E #1E5563
square
#4E1E63 #632B1E #33631E #1E5563
split-complementary
#4E1E63 #55631E #1E632B
monochromatic
#130717 #291034 #4E1E63 #732C92 #983AC1

Accessibility & contrast

On white

12.43
#4E1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4E1E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1E63
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E63#FFFFFF#000000##FFFFFF
##4E1E631.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e1e63;
/* rgb */ color: rgb(78, 30, 99);
/* oklch */ color: oklch(34.1% 0.122 313.9);
Tailwind
colors: {
  custom: {
    50: '#825e90',
    500: '#4e1e63',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e63;
$custom-light: #825e90;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e63",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 281.739,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.12178,
    "h": 313.9
  },
  "luminance": 0.03449
}

Semantic roles & 50–950 ramp

primary
#4E1E63
secondary
#5E9845
accent
#DD4B77
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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