#4E0E5F#4E0E5F

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

Color values

HEX#4E0E5F
RGBrgb(78, 14, 95)
HSLhsl(287, 74%, 21%)
HSVhsv(287, 85%, 37%)
CMYKcmyk(17.9%, 85.3%, 0%, 62.7%)
CIE-LABlab(19.06, 40.68, -32.92)
CIE-LCHlch(19.06, 52.33, 321.02°)
OKLaboklab(32.04% 0.1023 -0.0927)
OKLCHoklch(32.04% 0.138 317.8)
XYZxyz(5.3642, 2.7602, 11.0745)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0E5F #1F5F0E
analogous
#260E5F #4E0E5F #5F0E48
triadic
#4E0E5F #5F4E0E #0E5F4E
tetradic
#4E0E5F #5F260E #1F5F0E #0E485F
square
#4E0E5F #5F260E #1F5F0E #0E485F
split-complementary
#4E0E5F #485F0E #0E5F26
monochromatic
#16041B #22062A #4E0E5F #7A1694 #A61ECA

Accessibility & contrast

On white

13.53
#4E0E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0E5F
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0E5F#FFFFFF#000000##FFFFFF
##4E0E5F1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#11305D
Tritanopia (blue-blind)
#4D2137
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e0e5f;
/* rgb */ color: rgb(78, 14, 95);
/* oklch */ color: oklch(32.0% 0.138 317.8);
Tailwind
colors: {
  custom: {
    50: '#83568d',
    500: '#4e0e5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0e5f;
$custom-light: #83568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0e5f",
  "rgb": {
    "r": 78,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 287.407,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32044,
    "c": 0.13805,
    "h": 317.8
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#4E0E5F
secondary
#469930
accent
#F1375E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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