#4E184A#4E184A

#4E184A is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.6% C 0.105 H 330.8°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#4E184A
RGBrgb(78, 24, 74)
HSLhsl(304, 53%, 20%)
HSVhsv(304, 69%, 31%)
CMYKcmyk(0%, 69.2%, 5.1%, 69.4%)
CIE-LABlab(19.09, 32.34, -18.71)
CIE-LCHlch(19.09, 37.36, 329.95°)
OKLaboklab(31.62% 0.0919 -0.0514)
OKLCHoklch(31.62% 0.105 330.8)
XYZxyz(4.7045, 2.7677, 6.7637)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E184A #184E1C
analogous
#37184E #4E184A #4E182F
triadic
#4E184A #4A4E18 #184A4E
tetradic
#4E184A #4E3718 #184E1C #182F4E
square
#4E184A #4E3718 #184E1C #182F4E
split-complementary
#4E184A #2F4E18 #184E37
monochromatic
#170716 #1F0A1E #4E184A #7D2676 #AC35A3

Accessibility & contrast

On white

13.52
#4E184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4E184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E184A
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E184A#FFFFFF#000000##FFFFFF
##4E184A1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4B
Deuteranopia (green-blind)
#273149
Tritanopia (blue-blind)
#511E2E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e184a;
/* rgb */ color: rgb(78, 24, 74);
/* oklch */ color: oklch(31.6% 0.105 330.8);
Tailwind
colors: {
  custom: {
    50: '#82597c',
    500: '#4e184a',
    950: '#000000',
  },
}
SCSS
$custom: #4e184a;
$custom-light: #82597c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e184a",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 304.444,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31616,
    "c": 0.10531,
    "h": 330.8
  },
  "luminance": 0.02767
}

Semantic roles & 50–950 ramp

primary
#4E184A
secondary
#3D8542
accent
#DC564B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E184A

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

Preview Lab → · Contrast checker → · Palette generator →

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