#4E0D54#4E0D54

#4E0D54 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.129 H 324.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#4E0D54
RGBrgb(78, 13, 84)
HSLhsl(295, 73%, 19%)
HSVhsv(295, 85%, 33%)
CMYKcmyk(7.1%, 84.5%, 0%, 67.1%)
CIE-LABlab(18.13, 38.78, -27.03)
CIE-LCHlch(18.13, 47.27, 325.13°)
OKLaboklab(31.14% 0.1047 -0.0754)
OKLCHoklch(31.14% 0.129 324.2)
XYZxyz(4.8859, 2.5480, 8.6202)
Luminance0.0255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0D54 #13540D
analogous
#2B0D54 #4E0D54 #540D37
triadic
#4E0D54 #544E0D #0D544E
tetradic
#4E0D54 #542B0D #13540D #0D3754
square
#4E0D54 #542B0D #13540D #0D3754
split-complementary
#4E0D54 #37540D #0D542B
monochromatic
#19041A #1D051F #4E0D54 #7F1589 #B01DBE

Accessibility & contrast

On white

13.91
#4E0D54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E0D54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0D54
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0D54#FFFFFF#000000##FFFFFF
##4E0D541.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#1B2F52
Tritanopia (blue-blind)
#501B30
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e0d54;
/* rgb */ color: rgb(78, 13, 84);
/* oklch */ color: oklch(31.1% 0.129 324.2);
Tailwind
colors: {
  custom: {
    50: '#825584',
    500: '#4e0d54',
    950: '#000000',
  },
}
SCSS
$custom: #4e0d54;
$custom-light: #825584;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0d54",
  "rgb": {
    "r": 78,
    "g": 13,
    "b": 84
  },
  "hsl": {
    "h": 294.93,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31135,
    "c": 0.12903,
    "h": 324.2
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#4E0D54
secondary
#368F2E
accent
#F03847
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0D54

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

Preview Lab → · Contrast checker → · Palette generator →

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