#4E1D60#4E1D60

#4E1D60 is a dark, moderate purple. Relative luminance 0.033; OKLCH L 33.7% C 0.120 H 315.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#4E1D60
RGBrgb(78, 29, 96)
HSLhsl(284, 54%, 25%)
HSVhsv(284, 70%, 38%)
CMYKcmyk(18.7%, 69.8%, 0%, 62.4%)
CIE-LABlab(21.37, 34.55, -29.86)
CIE-LCHlch(21.37, 45.66, 319.16°)
OKLaboklab(33.71% 0.0858 -0.0838)
OKLCHoklch(33.71% 0.12 315.7)
XYZxyz(5.6922, 3.3432, 11.4095)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D60 #2F601D
analogous
#2D1D60 #4E1D60 #601D51
triadic
#4E1D60 #604E1D #1D604E
tetradic
#4E1D60 #602D1D #2F601D #1D5160
square
#4E1D60 #602D1D #2F601D #1D5160
split-complementary
#4E1D60 #51601D #1D602D
monochromatic
#130718 #280F31 #4E1D60 #742B8F #9A39BE

Accessibility & contrast

On white

12.59
#4E1D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D60
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D60#FFFFFF#000000##FFFFFF
##4E1D601.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023062
Deuteranopia (green-blind)
#1C355E
Tritanopia (blue-blind)
#4D2A3B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1d60;
/* rgb */ color: rgb(78, 29, 96);
/* oklch */ color: oklch(33.7% 0.120 315.7);
Tailwind
colors: {
  custom: {
    50: '#825d8d',
    500: '#4e1d60',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d60;
$custom-light: #825d8d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d60",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 283.881,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.33714,
    "c": 0.11999,
    "h": 315.7
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#4E1D60
secondary
#5A9544
accent
#DD4B72
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1D60

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

Preview Lab → · Contrast checker → · Palette generator →

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