#4E0F5E#4E0F5E

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

Color values

HEX#4E0F5E
RGBrgb(78, 15, 94)
HSLhsl(288, 72%, 21%)
HSVhsv(288, 84%, 37%)
CMYKcmyk(17%, 84%, 0%, 63.1%)
CIE-LABlab(19.10, 40.13, -32.19)
CIE-LCHlch(19.10, 51.44, 321.27°)
OKLaboklab(32.05% 0.1016 -0.0905)
OKLCHoklch(32.05% 0.136 318.3)
XYZxyz(5.3328, 2.7698, 10.8412)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F5E #1F5E0F
analogous
#270F5E #4E0F5E #5E0F47
triadic
#4E0F5E #5E4E0F #0F5E4E
tetradic
#4E0F5E #5E270F #1F5E0F #0F475E
square
#4E0F5E #5E270F #1F5E0F #0F475E
split-complementary
#4E0F5E #475E0F #0F5E27
monochromatic
#16041A #220729 #4E0F5E #7A1793 #A620C8

Accessibility & contrast

On white

13.51
#4E0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0F5E
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F5E#FFFFFF#000000##FFFFFF
##4E0F5E1.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#13305C
Tritanopia (blue-blind)
#4E2137
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e0f5e;
/* rgb */ color: rgb(78, 15, 94);
/* oklch */ color: oklch(32.0% 0.136 318.3);
Tailwind
colors: {
  custom: {
    50: '#83568c',
    500: '#4e0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f5e;
$custom-light: #83568c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f5e",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 287.848,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.1361,
    "h": 318.3
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#4E0F5E
secondary
#469731
accent
#EF395E
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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