#4E1357#4E1357

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

Color values

HEX#4E1357
RGBrgb(78, 19, 87)
HSLhsl(292, 64%, 21%)
HSVhsv(292, 78%, 34%)
CMYKcmyk(10.3%, 78.2%, 0%, 65.9%)
CIE-LABlab(19.11, 37.17, -27.48)
CIE-LCHlch(19.11, 46.22, 323.52°)
OKLaboklab(31.9% 0.0984 -0.0768)
OKLCHoklch(31.9% 0.125 322)
XYZxyz(5.0949, 2.7739, 9.2820)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1357 #1C5713
analogous
#2C1357 #4E1357 #57133E
triadic
#4E1357 #574E13 #13574E
tetradic
#4E1357 #572C13 #1C5713 #133E57
square
#4E1357 #572C13 #1C5713 #133E57
split-complementary
#4E1357 #3E5713 #13572C
monochromatic
#170519 #210825 #4E1357 #7B1E89 #A829BB

Accessibility & contrast

On white

13.51
#4E1357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E1357 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1357
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1357#FFFFFF#000000##FFFFFF
##4E13571.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A59
Deuteranopia (green-blind)
#1C3155
Tritanopia (blue-blind)
#4F2034
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e1357;
/* rgb */ color: rgb(78, 19, 87);
/* oklch */ color: oklch(31.9% 0.125 322.0);
Tailwind
colors: {
  custom: {
    50: '#825887',
    500: '#4e1357',
    950: '#000000',
  },
}
SCSS
$custom: #4e1357;
$custom-light: #825887;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1357",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 292.059,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.12485,
    "h": 322
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#4E1357
secondary
#428F36
accent
#E74157
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1357

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

Preview Lab → · Contrast checker → · Palette generator →

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