#4E184B#4E184B

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

Color values

HEX#4E184B
RGBrgb(78, 24, 75)
HSLhsl(303, 53%, 20%)
HSVhsv(303, 69%, 31%)
CMYKcmyk(0%, 69.2%, 3.8%, 69.4%)
CIE-LABlab(19.15, 32.53, -19.30)
CIE-LCHlch(19.15, 37.83, 329.32°)
OKLaboklab(31.68% 0.092 -0.0531)
OKLCHoklch(31.68% 0.106 330)
XYZxyz(4.7385, 2.7813, 6.9425)
Luminance0.0278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E184B #184E1B
analogous
#36184E #4E184B #4E1830
triadic
#4E184B #4B4E18 #184B4E
tetradic
#4E184B #4E3618 #184E1B #18304E
square
#4E184B #4E3618 #184E1B #18304E
split-complementary
#4E184B #304E18 #184E36
monochromatic
#170717 #1F0A1E #4E184B #7D2678 #AC35A5

Accessibility & contrast

On white

13.49
#4E184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E184B
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E184B#FFFFFF#000000##FFFFFF
##4E184B1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4D
Deuteranopia (green-blind)
#26314A
Tritanopia (blue-blind)
#511E2F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4e184b;
/* rgb */ color: rgb(78, 24, 75);
/* oklch */ color: oklch(31.7% 0.106 330.0);
Tailwind
colors: {
  custom: {
    50: '#82597d',
    500: '#4e184b',
    950: '#000000',
  },
}
SCSS
$custom: #4e184b;
$custom-light: #82597d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e184b",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 303.333,
    "s": 52.941,
    "l": 20
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.10624,
    "h": 330
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#4E184B
secondary
#3D8541
accent
#DC534B
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0409
muted
#7C797B

Preview Lab

Preview with #4E184B

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

Preview Lab → · Contrast checker → · Palette generator →

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