#4E1E60#4E1E60

#4E1E60 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.8% C 0.118 H 315.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#4E1E60
RGBrgb(78, 30, 96)
HSLhsl(284, 52%, 25%)
HSVhsv(284, 69%, 38%)
CMYKcmyk(18.7%, 68.7%, 0%, 62.4%)
CIE-LABlab(21.55, 34.04, -29.57)
CIE-LCHlch(21.55, 45.08, 319.02°)
OKLaboklab(33.85% 0.0845 -0.083)
OKLCHoklch(33.85% 0.118 315.5)
XYZxyz(5.7171, 3.3930, 11.4178)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1E60 #30601E
analogous
#2D1E60 #4E1E60 #601E51
triadic
#4E1E60 #604E1E #1E604E
tetradic
#4E1E60 #602D1E #30601E #1E5160
square
#4E1E60 #602D1E #30601E #1E5160
split-complementary
#4E1E60 #51601E #1E602D
monochromatic
#130717 #280F31 #4E1E60 #742D8F #9A3BBD

Accessibility & contrast

On white

12.51
#4E1E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1E60
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1E60#FFFFFF#000000##FFFFFF
##4E1E601.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043162
Deuteranopia (green-blind)
#1D355E
Tritanopia (blue-blind)
#4D2A3C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4e1e60;
/* rgb */ color: rgb(78, 30, 96);
/* oklch */ color: oklch(33.8% 0.118 315.5);
Tailwind
colors: {
  custom: {
    50: '#825e8d',
    500: '#4e1e60',
    950: '#000000',
  },
}
SCSS
$custom: #4e1e60;
$custom-light: #825e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1e60",
  "rgb": {
    "r": 78,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 283.636,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33847,
    "c": 0.11845,
    "h": 315.5
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#4E1E60
secondary
#5B9545
accent
#DC4C73
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1E60

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

Preview Lab → · Contrast checker → · Palette generator →

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