#4E1C60#4E1C60

#4E1C60 is a dark, vivid purple. Relative luminance 0.033; OKLCH L 33.6% C 0.121 H 315.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#4E1C60
RGBrgb(78, 28, 96)
HSLhsl(284, 55%, 24%)
HSVhsv(284, 71%, 38%)
CMYKcmyk(18.7%, 70.8%, 0%, 62.4%)
CIE-LABlab(21.19, 35.05, -30.15)
CIE-LCHlch(21.19, 46.23, 319.30°)
OKLaboklab(33.58% 0.0871 -0.0847)
OKLCHoklch(33.58% 0.122 315.8)
XYZxyz(5.6681, 3.2949, 11.4015)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1C60 #2E601C
analogous
#2C1C60 #4E1C60 #601C50
triadic
#4E1C60 #604E1C #1C604E
tetradic
#4E1C60 #602C1C #2E601C #1C5060
square
#4E1C60 #602C1C #2E601C #1C5060
split-complementary
#4E1C60 #50601C #1C602C
monochromatic
#130718 #280E31 #4E1C60 #742A8F #9B38BF

Accessibility & contrast

On white

12.66
#4E1C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1C60
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1C60#FFFFFF#000000##FFFFFF
##4E1C601.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003062
Deuteranopia (green-blind)
#1C345E
Tritanopia (blue-blind)
#4D293B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1c60;
/* rgb */ color: rgb(78, 28, 96);
/* oklch */ color: oklch(33.6% 0.121 315.8);
Tailwind
colors: {
  custom: {
    50: '#825c8d',
    500: '#4e1c60',
    950: '#000000',
  },
}
SCSS
$custom: #4e1c60;
$custom-light: #825c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1c60",
  "rgb": {
    "r": 78,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 284.118,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.1215,
    "h": 315.8
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#4E1C60
secondary
#589542
accent
#DE4A71
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1C60

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

Preview Lab → · Contrast checker → · Palette generator →

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