#4E1D5E#4E1D5E

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

Color values

HEX#4E1D5E
RGBrgb(78, 29, 94)
HSLhsl(285, 53%, 24%)
HSVhsv(285, 69%, 37%)
CMYKcmyk(17%, 69.1%, 0%, 63.1%)
CIE-LABlab(21.23, 34.09, -28.76)
CIE-LCHlch(21.23, 44.60, 319.85°)
OKLaboklab(33.57% 0.0859 -0.0806)
OKLCHoklch(33.57% 0.118 316.8)
XYZxyz(5.6013, 3.3068, 10.9307)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D5E #2D5E1D
analogous
#2E1D5E #4E1D5E #5E1D4E
triadic
#4E1D5E #5E4E1D #1D5E4E
tetradic
#4E1D5E #5E2E1D #2D5E1D #1D4E5E
square
#4E1D5E #5E2E1D #2D5E1D #1D4E5E
split-complementary
#4E1D5E #4E5E1D #1D5E2E
monochromatic
#130717 #270F2F #4E1D5E #752B8D #9C3ABC

Accessibility & contrast

On white

12.64
#4E1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4E1D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1D5E
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D5E#FFFFFF#000000##FFFFFF
##4E1D5E1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053060
Deuteranopia (green-blind)
#1E345C
Tritanopia (blue-blind)
#4D293A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1d5e;
/* rgb */ color: rgb(78, 29, 94);
/* oklch */ color: oklch(33.6% 0.118 316.8);
Tailwind
colors: {
  custom: {
    50: '#825d8c',
    500: '#4e1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d5e;
$custom-light: #825d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d5e",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 285.231,
    "s": 52.846,
    "l": 24.118
  },
  "oklch": {
    "l": 0.33572,
    "c": 0.11781,
    "h": 316.8
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#4E1D5E
secondary
#579344
accent
#DC4C6F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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