#4E184C#4E184C

#4E184C is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.107 H 329.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#4E184C
RGBrgb(78, 24, 76)
HSLhsl(302, 53%, 20%)
HSVhsv(302, 69%, 31%)
CMYKcmyk(0%, 69.2%, 2.6%, 69.4%)
CIE-LABlab(19.20, 32.73, -19.90)
CIE-LCHlch(19.20, 38.30, 328.70°)
OKLaboklab(31.74% 0.0921 -0.0548)
OKLCHoklch(31.74% 0.107 329.3)
XYZxyz(4.7730, 2.7951, 7.1242)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E184C #184E1A
analogous
#35184E #4E184C #4E1831
triadic
#4E184C #4C4E18 #184C4E
tetradic
#4E184C #4E3518 #184E1A #18314E
square
#4E184C #4E3518 #184E1A #18314E
split-complementary
#4E184C #314E18 #184E35
monochromatic
#170717 #1F0A1E #4E184C #7D267A #AC35A7

Accessibility & contrast

On white

13.47
#4E184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E184C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E184C#FFFFFF#000000##FFFFFF
##4E184C1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132A4E
Deuteranopia (green-blind)
#26314B
Tritanopia (blue-blind)
#511E2F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e184c;
/* rgb */ color: rgb(78, 24, 76);
/* oklch */ color: oklch(31.7% 0.107 329.3);
Tailwind
colors: {
  custom: {
    50: '#825a7e',
    500: '#4e184c',
    950: '#000000',
  },
}
SCSS
$custom: #4e184c;
$custom-light: #825a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e184c",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 302.222,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.10719,
    "h": 329.3
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#4E184C
secondary
#3D8540
accent
#DC514B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E184C

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

Preview Lab → · Contrast checker → · Palette generator →

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