#4E185D#4E185D

#4E185D is a dark, vivid purple. Relative luminance 0.031; OKLCH L 32.9% C 0.124 H 318.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#4E185D
RGBrgb(78, 24, 93)
HSLhsl(287, 59%, 23%)
HSVhsv(287, 74%, 36%)
CMYKcmyk(16.1%, 74.2%, 0%, 63.5%)
CIE-LABlab(20.30, 36.29, -29.59)
CIE-LCHlch(20.30, 46.82, 320.80°)
OKLaboklab(32.88% 0.0923 -0.083)
OKLCHoklch(32.88% 0.124 318)
XYZxyz(5.4440, 3.0635, 10.6584)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E185D #275D18
analogous
#2C185D #4E185D #5D1849
triadic
#4E185D #5D4E18 #185D4E
tetradic
#4E185D #5D2C18 #275D18 #18495D
square
#4E185D #5D2C18 #275D18 #18495D
split-complementary
#4E185D #495D18 #185D2C
monochromatic
#140618 #250B2C #4E185D #77258E #A031BE

Accessibility & contrast

On white

13.02
#4E185D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4E185D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E185D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E185D#FFFFFF#000000##FFFFFF
##4E185D1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5F
Deuteranopia (green-blind)
#1B335B
Tritanopia (blue-blind)
#4E2538
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e185d;
/* rgb */ color: rgb(78, 24, 93);
/* oklch */ color: oklch(32.9% 0.124 318.0);
Tailwind
colors: {
  custom: {
    50: '#825a8b',
    500: '#4e185d',
    950: '#000000',
  },
}
SCSS
$custom: #4e185d;
$custom-light: #825a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e185d",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 93
  },
  "hsl": {
    "h": 286.957,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32877,
    "c": 0.12412,
    "h": 318
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#4E185D
secondary
#50933D
accent
#E24668
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E185D

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

Preview Lab → · Contrast checker → · Palette generator →

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