#4E184E#4E184E

#4E184E is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.9% C 0.109 H 327.8°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#4E184E
RGBrgb(78, 24, 78)
HSLhsl(300, 53%, 20%)
HSVhsv(300, 69%, 31%)
CMYKcmyk(0%, 69.2%, 0%, 69.4%)
CIE-LABlab(19.32, 33.12, -21.07)
CIE-LCHlch(19.32, 39.26, 327.54°)
OKLaboklab(31.86% 0.0923 -0.0582)
OKLCHoklch(31.86% 0.109 327.8)
XYZxyz(4.8436, 2.8233, 7.4961)
Luminance0.0282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E184E #184E18
analogous
#33184E #4E184E #4E1833
triadic
#4E184E #4E4E18 #184E4E
tetradic
#4E184E #4E3318 #184E18 #18334E
square
#4E184E #4E3318 #184E18 #18334E
split-complementary
#4E184E #334E18 #184E33
monochromatic
#170717 #1F0A1F #4E184E #7D267D #AC35AC

Accessibility & contrast

On white

13.42
#4E184E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E184E
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E184E#FFFFFF#000000##FFFFFF
##4E184E1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112A50
Deuteranopia (green-blind)
#25314D
Tritanopia (blue-blind)
#511F30
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e184e;
/* rgb */ color: rgb(78, 24, 78);
/* oklch */ color: oklch(31.9% 0.109 327.8);
Tailwind
colors: {
  custom: {
    50: '#825a80',
    500: '#4e184e',
    950: '#000000',
  },
}
SCSS
$custom: #4e184e;
$custom-light: #825a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e184e",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 78
  },
  "hsl": {
    "h": 300,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31861,
    "c": 0.1091,
    "h": 327.8
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#4E184E
secondary
#3D853D
accent
#DC4B4B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E184E

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

Preview Lab → · Contrast checker → · Palette generator →

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