#4E1456#4E1456

#4E1456 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.123 H 322.6°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4E1456
RGBrgb(78, 20, 86)
HSLhsl(293, 62%, 21%)
HSVhsv(293, 77%, 34%)
CMYKcmyk(9.3%, 76.7%, 0%, 66.3%)
CIE-LABlab(19.19, 36.55, -26.68)
CIE-LCHlch(19.19, 45.25, 323.87°)
OKLaboklab(31.93% 0.0974 -0.0745)
OKLCHoklch(31.93% 0.123 322.6)
XYZxyz(5.0716, 2.7922, 9.0741)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1456 #1C5614
analogous
#2D1456 #4E1456 #56143D
triadic
#4E1456 #564E14 #14564E
tetradic
#4E1456 #562D14 #1C5614 #143D56
square
#4E1456 #562D14 #1C5614 #143D56
split-complementary
#4E1456 #3D5614 #14562D
monochromatic
#170619 #210824 #4E1456 #7B2088 #A82BB9

Accessibility & contrast

On white

13.48
#4E1456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E1456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1456
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1456#FFFFFF#000000##FFFFFF
##4E14561.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#1E3154
Tritanopia (blue-blind)
#4F2033
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1456;
/* rgb */ color: rgb(78, 20, 86);
/* oklch */ color: oklch(31.9% 0.123 322.6);
Tailwind
colors: {
  custom: {
    50: '#825886',
    500: '#4e1456',
    950: '#000000',
  },
}
SCSS
$custom: #4e1456;
$custom-light: #825886;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1456",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 292.727,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31932,
    "c": 0.1226,
    "h": 322.6
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#4E1456
secondary
#428E38
accent
#E54256
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1456

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

Preview Lab → · Contrast checker → · Palette generator →

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