#4E1459#4E1459

#4E1459 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.125 H 320.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#4E1459
RGBrgb(78, 20, 89)
HSLhsl(290, 63%, 21%)
HSVhsv(290, 78%, 35%)
CMYKcmyk(12.4%, 77.5%, 0%, 65.1%)
CIE-LABlab(19.40, 37.17, -28.37)
CIE-LCHlch(19.40, 46.76, 322.65°)
OKLaboklab(32.15% 0.0972 -0.0794)
OKLCHoklch(32.15% 0.125 320.7)
XYZxyz(5.1950, 2.8416, 9.7241)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1459 #1F5914
analogous
#2C1459 #4E1459 #591442
triadic
#4E1459 #594E14 #14594E
tetradic
#4E1459 #592C14 #1F5914 #144259
square
#4E1459 #592C14 #1F5914 #144259
split-complementary
#4E1459 #425914 #14592C
monochromatic
#160619 #220927 #4E1459 #7A1F8B #A62ABD

Accessibility & contrast

On white

13.39
#4E1459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1459
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1459#FFFFFF#000000##FFFFFF
##4E14591.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#4F2135
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1459;
/* rgb */ color: rgb(78, 20, 89);
/* oklch */ color: oklch(32.1% 0.125 320.7);
Tailwind
colors: {
  custom: {
    50: '#825888',
    500: '#4e1459',
    950: '#000000',
  },
}
SCSS
$custom: #4e1459;
$custom-light: #825888;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1459",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 89
  },
  "hsl": {
    "h": 290.435,
    "s": 63.303,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32146,
    "c": 0.12549,
    "h": 320.7
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#4E1459
secondary
#469138
accent
#E6415C
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1459

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

Preview Lab → · Contrast checker → · Palette generator →

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