#4E1860#4E1860

#4E1860 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.1% C 0.127 H 316.3°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#4E1860
RGBrgb(78, 24, 96)
HSLhsl(285, 60%, 24%)
HSVhsv(285, 75%, 38%)
CMYKcmyk(18.7%, 75%, 0%, 62.4%)
CIE-LABlab(20.51, 36.95, -31.24)
CIE-LCHlch(20.51, 48.39, 319.79°)
OKLaboklab(33.1% 0.092 -0.0878)
OKLCHoklch(33.1% 0.127 316.3)
XYZxyz(5.5795, 3.1177, 11.3719)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1860 #2A6018
analogous
#2A1860 #4E1860 #60184E
triadic
#4E1860 #604E18 #18604E
tetradic
#4E1860 #602A18 #2A6018 #184E60
square
#4E1860 #602A18 #2A6018 #184E60
split-complementary
#4E1860 #4E6018 #18602A
monochromatic
#140618 #260C2F #4E1860 #762491 #9E30C2

Accessibility & contrast

On white

12.94
#4E1860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4E1860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1860
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1860#FFFFFF#000000##FFFFFF
##4E18601.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E62
Deuteranopia (green-blind)
#18335E
Tritanopia (blue-blind)
#4D263A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1860;
/* rgb */ color: rgb(78, 24, 96);
/* oklch */ color: oklch(33.1% 0.127 316.3);
Tailwind
colors: {
  custom: {
    50: '#825a8e',
    500: '#4e1860',
    950: '#000000',
  },
}
SCSS
$custom: #4e1860;
$custom-light: #825a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1860",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 96
  },
  "hsl": {
    "h": 285,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33097,
    "c": 0.12721,
    "h": 316.3
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#4E1860
secondary
#54963D
accent
#E3456C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1860

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

Preview Lab → · Contrast checker → · Palette generator →

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