#4E1457#4E1457

#4E1457 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.124 H 322.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#4E1457
RGBrgb(78, 20, 87)
HSLhsl(292, 63%, 21%)
HSVhsv(292, 77%, 34%)
CMYKcmyk(10.3%, 77%, 0%, 65.9%)
CIE-LABlab(19.26, 36.76, -27.25)
CIE-LCHlch(19.26, 45.76, 323.45°)
OKLaboklab(32% 0.0973 -0.0761)
OKLCHoklch(32% 0.124 322)
XYZxyz(5.1122, 2.8084, 9.2878)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1457 #1D5714
analogous
#2C1457 #4E1457 #57143E
triadic
#4E1457 #574E14 #14574E
tetradic
#4E1457 #572C14 #1D5714 #143E57
square
#4E1457 #572C14 #1D5714 #143E57
split-complementary
#4E1457 #3E5714 #14572C
monochromatic
#160619 #210925 #4E1457 #7B1F89 #A72BBB

Accessibility & contrast

On white

13.45
#4E1457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1457
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1457#FFFFFF#000000##FFFFFF
##4E14571.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B59
Deuteranopia (green-blind)
#1D3155
Tritanopia (blue-blind)
#4F2034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1457;
/* rgb */ color: rgb(78, 20, 87);
/* oklch */ color: oklch(32.0% 0.124 322.0);
Tailwind
colors: {
  custom: {
    50: '#825887',
    500: '#4e1457',
    950: '#000000',
  },
}
SCSS
$custom: #4e1457;
$custom-light: #825887;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1457",
  "rgb": {
    "r": 78,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 291.94,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32003,
    "c": 0.12356,
    "h": 322
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#4E1457
secondary
#448F38
accent
#E64258
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1457

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

Preview Lab → · Contrast checker → · Palette generator →

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