#4E0E5D#4E0E5D

#4E0E5D is a dark, vivid purple. Relative luminance 0.027; OKLCH L 31.9% C 0.136 H 318.9°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#4E0E5D
RGBrgb(78, 14, 93)
HSLhsl(289, 74%, 21%)
HSVhsv(289, 85%, 36%)
CMYKcmyk(16.1%, 84.9%, 0%, 63.5%)
CIE-LABlab(18.90, 40.26, -31.83)
CIE-LCHlch(18.90, 51.33, 321.67°)
OKLaboklab(31.89% 0.1027 -0.0895)
OKLCHoklch(31.89% 0.136 318.9)
XYZxyz(5.2744, 2.7244, 10.6018)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0E5D #1D5D0E
analogous
#260E5D #4E0E5D #5D0E44
triadic
#4E0E5D #5D4E0E #0E5D4E
tetradic
#4E0E5D #5D260E #1D5D0E #0E445D
square
#4E0E5D #5D260E #1D5D0E #0E445D
split-complementary
#4E0E5D #445D0E #0E5D26
monochromatic
#16041B #210628 #4E0E5D #7B1692 #A71EC7

Accessibility & contrast

On white

13.59
#4E0E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#4E0E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0E5D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0E5D#FFFFFF#000000##FFFFFF
##4E0E5D1.0013.591.5413.59
#FFFFFF13.591.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#14305B
Tritanopia (blue-blind)
#4E2036
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e0e5d;
/* rgb */ color: rgb(78, 14, 93);
/* oklch */ color: oklch(31.9% 0.136 318.9);
Tailwind
colors: {
  custom: {
    50: '#83568b',
    500: '#4e0e5d',
    950: '#000000',
  },
}
SCSS
$custom: #4e0e5d;
$custom-light: #83568b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0e5d",
  "rgb": {
    "r": 78,
    "g": 14,
    "b": 93
  },
  "hsl": {
    "h": 288.608,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31888,
    "c": 0.13619,
    "h": 318.9
  },
  "luminance": 0.02724
}

Semantic roles & 50–950 ramp

primary
#4E0E5D
secondary
#449730
accent
#F0375A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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