#4E1D5F#4E1D5F

#4E1D5F is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.6% C 0.119 H 316.2°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#4E1D5F
RGBrgb(78, 29, 95)
HSLhsl(285, 53%, 24%)
HSVhsv(285, 69%, 37%)
CMYKcmyk(17.9%, 69.5%, 0%, 62.7%)
CIE-LABlab(21.30, 34.32, -29.31)
CIE-LCHlch(21.30, 45.13, 319.50°)
OKLaboklab(33.64% 0.0859 -0.0822)
OKLCHoklch(33.64% 0.119 316.2)
XYZxyz(5.6465, 3.3249, 11.1686)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D5F #2E5F1D
analogous
#2D1D5F #4E1D5F #5F1D4F
triadic
#4E1D5F #5F4E1D #1D5F4E
tetradic
#4E1D5F #5F2D1D #2E5F1D #1D4F5F
square
#4E1D5F #5F2D1D #2E5F1D #1D4F5F
split-complementary
#4E1D5F #4F5F1D #1D5F2D
monochromatic
#130717 #280F30 #4E1D5F #742B8E #9B3ABD

Accessibility & contrast

On white

12.61
#4E1D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E1D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D5F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D5F#FFFFFF#000000##FFFFFF
##4E1D5F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043061
Deuteranopia (green-blind)
#1D355D
Tritanopia (blue-blind)
#4D293B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1d5f;
/* rgb */ color: rgb(78, 29, 95);
/* oklch */ color: oklch(33.6% 0.119 316.2);
Tailwind
colors: {
  custom: {
    50: '#825d8d',
    500: '#4e1d5f',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d5f;
$custom-light: #825d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d5f",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 95
  },
  "hsl": {
    "h": 284.545,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33643,
    "c": 0.1189,
    "h": 316.2
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#4E1D5F
secondary
#589444
accent
#DD4B71
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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