#4E0E54#4E0E54

#4E0E54 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.2% C 0.128 H 324.2°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#4E0E54
RGBrgb(78, 14, 84)
HSLhsl(295, 71%, 19%)
HSVhsv(295, 83%, 33%)
CMYKcmyk(7.1%, 83.3%, 0%, 67.1%)
CIE-LABlab(18.25, 38.44, -26.84)
CIE-LCHlch(18.25, 46.89, 325.08°)
OKLaboklab(31.22% 0.1038 -0.0749)
OKLCHoklch(31.22% 0.128 324.2)
XYZxyz(4.8990, 2.5742, 8.6246)
Luminance0.0257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0E54 #14540E
analogous
#2B0E54 #4E0E54 #540E37
triadic
#4E0E54 #544E0E #0E544E
tetradic
#4E0E54 #542B0E #14540E #0E3754
square
#4E0E54 #542B0E #14540E #0E3754
split-complementary
#4E0E54 #37540E #0E542B
monochromatic
#18041A #1D0520 #4E0E54 #7F1788 #AF1FBD

Accessibility & contrast

On white

13.86
#4E0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0E54
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0E54#FFFFFF#000000##FFFFFF
##4E0E541.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002856
Deuteranopia (green-blind)
#1C2F52
Tritanopia (blue-blind)
#501B31
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4e0e54;
/* rgb */ color: rgb(78, 14, 84);
/* oklch */ color: oklch(31.2% 0.128 324.2);
Tailwind
colors: {
  custom: {
    50: '#825584',
    500: '#4e0e54',
    950: '#000000',
  },
}
SCSS
$custom: #4e0e54;
$custom-light: #825584;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0e54",
  "rgb": {
    "r": 78,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 294.857,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.31218,
    "c": 0.12797,
    "h": 324.2
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#4E0E54
secondary
#388E2F
accent
#EE3A49
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4E0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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