#4E1358#4E1358

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

Color values

HEX#4E1358
RGBrgb(78, 19, 88)
HSLhsl(291, 64%, 21%)
HSVhsv(291, 78%, 35%)
CMYKcmyk(11.4%, 78.4%, 0%, 65.5%)
CIE-LABlab(19.18, 37.38, -28.04)
CIE-LCHlch(19.18, 46.73, 323.12°)
OKLaboklab(31.97% 0.0984 -0.0784)
OKLCHoklch(31.97% 0.126 321.4)
XYZxyz(5.1360, 2.7903, 9.4987)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1358 #1D5813
analogous
#2B1358 #4E1358 #58133F
triadic
#4E1358 #584E13 #13584E
tetradic
#4E1358 #582B13 #1D5813 #133F58
square
#4E1358 #582B13 #1D5813 #133F58
split-complementary
#4E1358 #3F5813 #13582B
monochromatic
#160519 #210826 #4E1358 #7B1E8A #A729BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E1358#FFFFFF#000000##FFFFFF
##4E13581.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)
#002A5A
Deuteranopia (green-blind)
#1C3156
Tritanopia (blue-blind)
#4F2034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1358;
/* rgb */ color: rgb(78, 19, 88);
/* oklch */ color: oklch(32.0% 0.126 321.4);
Tailwind
colors: {
  custom: {
    50: '#825887',
    500: '#4e1358',
    950: '#000000',
  },
}
SCSS
$custom: #4e1358;
$custom-light: #825887;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1358",
  "rgb": {
    "r": 78,
    "g": 19,
    "b": 88
  },
  "hsl": {
    "h": 291.304,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31971,
    "c": 0.12581,
    "h": 321.4
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#4E1358
secondary
#449037
accent
#E74059
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E1358

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

Preview Lab → · Contrast checker → · Palette generator →

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