#4E1859#4E1859

#4E1859 is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.6% C 0.120 H 320.4°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#4E1859
RGBrgb(78, 24, 89)
HSLhsl(290, 58%, 22%)
HSVhsv(290, 73%, 35%)
CMYKcmyk(12.4%, 73%, 0%, 65.1%)
CIE-LABlab(20.02, 35.41, -27.37)
CIE-LCHlch(20.02, 44.76, 322.30°)
OKLaboklab(32.59% 0.0925 -0.0765)
OKLCHoklch(32.59% 0.12 320.4)
XYZxyz(5.2715, 2.9945, 9.7496)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1859 #235918
analogous
#2E1859 #4E1859 #591844
triadic
#4E1859 #594E18 #18594E
tetradic
#4E1859 #592E18 #235918 #184459
square
#4E1859 #592E18 #235918 #184459
split-complementary
#4E1859 #445918 #18592E
monochromatic
#150618 #240B29 #4E1859 #782589 #A232B9

Accessibility & contrast

On white

13.13
#4E1859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E1859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1859
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1859#FFFFFF#000000##FFFFFF
##4E18591.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022D5B
Deuteranopia (green-blind)
#1E3257
Tritanopia (blue-blind)
#4E2436
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e1859;
/* rgb */ color: rgb(78, 24, 89);
/* oklch */ color: oklch(32.6% 0.120 320.4);
Tailwind
colors: {
  custom: {
    50: '#825a88',
    500: '#4e1859',
    950: '#000000',
  },
}
SCSS
$custom: #4e1859;
$custom-light: #825a88;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1859",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 289.846,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.12003,
    "h": 320.4
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#4E1859
secondary
#4B903D
accent
#E14761
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1859

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

Preview Lab → · Contrast checker → · Palette generator →

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