#4E184D#4E184D

#4E184D is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.108 H 328.5°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#4E184D
RGBrgb(78, 24, 77)
HSLhsl(301, 53%, 20%)
HSVhsv(301, 69%, 31%)
CMYKcmyk(0%, 69.2%, 1.3%, 69.4%)
CIE-LABlab(19.26, 32.92, -20.48)
CIE-LCHlch(19.26, 38.78, 328.11°)
OKLaboklab(31.8% 0.0922 -0.0565)
OKLCHoklch(31.8% 0.108 328.5)
XYZxyz(4.8080, 2.8091, 7.3087)
Luminance0.0281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E184D #184E19
analogous
#34184E #4E184D #4E1832
triadic
#4E184D #4D4E18 #184D4E
tetradic
#4E184D #4E3418 #184E19 #18324E
square
#4E184D #4E3418 #184E19 #18324E
split-complementary
#4E184D #324E18 #184E34
monochromatic
#170717 #1F0A1F #4E184D #7D267B #AC35A9

Accessibility & contrast

On white

13.45
#4E184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E184D
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E184D#FFFFFF#000000##FFFFFF
##4E184D1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122A4F
Deuteranopia (green-blind)
#25314C
Tritanopia (blue-blind)
#511F30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e184d;
/* rgb */ color: rgb(78, 24, 77);
/* oklch */ color: oklch(31.8% 0.108 328.5);
Tailwind
colors: {
  custom: {
    50: '#825a7f',
    500: '#4e184d',
    950: '#000000',
  },
}
SCSS
$custom: #4e184d;
$custom-light: #825a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e184d",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 301.111,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31799,
    "c": 0.10814,
    "h": 328.5
  },
  "luminance": 0.02809
}

Semantic roles & 50–950 ramp

primary
#4E184D
secondary
#3D853E
accent
#DC4E4B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E184D

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

Preview Lab → · Contrast checker → · Palette generator →

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