#4E184F#4E184F

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

Color values

HEX#4E184F
RGBrgb(78, 24, 79)
HSLhsl(299, 53%, 20%)
HSVhsv(299, 70%, 31%)
CMYKcmyk(1.3%, 69.6%, 0%, 69%)
CIE-LABlab(19.38, 33.32, -21.65)
CIE-LCHlch(19.38, 39.74, 326.98°)
OKLaboklab(31.92% 0.0924 -0.0599)
OKLCHoklch(31.92% 0.11 327)
XYZxyz(4.8797, 2.8378, 7.6863)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E184F #194F18
analogous
#32184F #4E184F #4F1834
triadic
#4E184F #4F4E18 #184F4E
tetradic
#4E184F #4F3218 #194F18 #18344F
square
#4E184F #4F3218 #194F18 #18344F
split-complementary
#4E184F #344F18 #184F32
monochromatic
#170717 #200A20 #4E184F #7C267E #AB35AD

Accessibility & contrast

On white

13.40
#4E184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E184F
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E184F#FFFFFF#000000##FFFFFF
##4E184F1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B51
Deuteranopia (green-blind)
#24314E
Tritanopia (blue-blind)
#501F31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e184f;
/* rgb */ color: rgb(78, 24, 79);
/* oklch */ color: oklch(31.9% 0.110 327.0);
Tailwind
colors: {
  custom: {
    50: '#825a80',
    500: '#4e184f',
    950: '#000000',
  },
}
SCSS
$custom: #4e184f;
$custom-light: #825a80;
$custom-dark: #000000;
JSON
{
  "hex": "#4e184f",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 298.909,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31925,
    "c": 0.11007,
    "h": 327
  },
  "luminance": 0.02837
}

Semantic roles & 50–950 ramp

primary
#4E184F
secondary
#3E863D
accent
#DD4B4E
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B040A
muted
#7C797C

Preview Lab

Preview with #4E184F

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

Preview Lab → · Contrast checker → · Palette generator →

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