#4E1D61#4E1D61

#4E1D61 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 33.8% C 0.121 H 315.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4E1D61
RGBrgb(78, 29, 97)
HSLhsl(283, 54%, 25%)
HSVhsv(283, 70%, 38%)
CMYKcmyk(19.6%, 70.1%, 0%, 62%)
CIE-LABlab(21.44, 34.78, -30.41)
CIE-LCHlch(21.44, 46.20, 318.84°)
OKLaboklab(33.79% 0.0858 -0.0854)
OKLCHoklch(33.79% 0.121 315.1)
XYZxyz(5.7386, 3.3617, 11.6535)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1D61 #30611D
analogous
#2C1D61 #4E1D61 #611D52
triadic
#4E1D61 #614E1D #1D614E
tetradic
#4E1D61 #612C1D #30611D #1D5261
square
#4E1D61 #612C1D #30611D #1D5261
split-complementary
#4E1D61 #52611D #1D612C
monochromatic
#130718 #280F32 #4E1D61 #742B90 #9A39BF

Accessibility & contrast

On white

12.56
#4E1D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1D61
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1D61#FFFFFF#000000##FFFFFF
##4E1D611.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003163
Deuteranopia (green-blind)
#1C355F
Tritanopia (blue-blind)
#4D2A3C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e1d61;
/* rgb */ color: rgb(78, 29, 97);
/* oklch */ color: oklch(33.8% 0.121 315.1);
Tailwind
colors: {
  custom: {
    50: '#825d8e',
    500: '#4e1d61',
    950: '#000000',
  },
}
SCSS
$custom: #4e1d61;
$custom-light: #825d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1d61",
  "rgb": {
    "r": 78,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 283.235,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33786,
    "c": 0.12109,
    "h": 315.1
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#4E1D61
secondary
#5B9644
accent
#DD4A74
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1D61

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

Preview Lab → · Contrast checker → · Palette generator →

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