#4E0F5F#4E0F5F

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

Color values

HEX#4E0F5F
RGBrgb(78, 15, 95)
HSLhsl(287, 73%, 22%)
HSVhsv(287, 84%, 37%)
CMYKcmyk(17.9%, 84.2%, 0%, 62.7%)
CIE-LABlab(19.17, 40.35, -32.73)
CIE-LCHlch(19.17, 51.95, 320.95°)
OKLaboklab(32.13% 0.1014 -0.0921)
OKLCHoklch(32.13% 0.137 317.8)
XYZxyz(5.3780, 2.7878, 11.0791)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0F5F #205F0F
analogous
#260F5F #4E0F5F #5F0F48
triadic
#4E0F5F #5F4E0F #0F5F4E
tetradic
#4E0F5F #5F260F #205F0F #0F485F
square
#4E0F5F #5F260F #205F0F #0F485F
split-complementary
#4E0F5F #485F0F #0F5F26
monochromatic
#16041A #23072A #4E0F5F #791794 #A520C9

Accessibility & contrast

On white

13.48
#4E0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4E0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0F5F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0F5F#FFFFFF#000000##FFFFFF
##4E0F5F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#12305D
Tritanopia (blue-blind)
#4D2137
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e0f5f;
/* rgb */ color: rgb(78, 15, 95);
/* oklch */ color: oklch(32.1% 0.137 317.8);
Tailwind
colors: {
  custom: {
    50: '#83568d',
    500: '#4e0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0f5f;
$custom-light: #83568d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0f5f",
  "rgb": {
    "r": 78,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 287.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32126,
    "c": 0.13704,
    "h": 317.8
  },
  "luminance": 0.02788
}

Semantic roles & 50–950 ramp

primary
#4E0F5F
secondary
#479832
accent
#EF385F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4E0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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