#4E185B#4E185B

#4E185B is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.7% C 0.122 H 319.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#4E185B
RGBrgb(78, 24, 91)
HSLhsl(288, 58%, 23%)
HSVhsv(288, 74%, 36%)
CMYKcmyk(14.3%, 73.6%, 0%, 64.3%)
CIE-LABlab(20.16, 35.85, -28.49)
CIE-LCHlch(20.16, 45.79, 321.53°)
OKLaboklab(32.73% 0.0924 -0.0798)
OKLCHoklch(32.73% 0.122 319.2)
XYZxyz(5.3566, 3.0286, 10.1979)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E185B #255B18
analogous
#2C185B #4E185B #5B1847
triadic
#4E185B #5B4E18 #185B4E
tetradic
#4E185B #5B2C18 #255B18 #18475B
square
#4E185B #5B2C18 #255B18 #18475B
split-complementary
#4E185B #475B18 #185B2C
monochromatic
#150618 #240B2B #4E185B #78258B #A132BC

Accessibility & contrast

On white

13.08
#4E185B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E185B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E185B#FFFFFF#000000##FFFFFF
##4E185B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5D
Deuteranopia (green-blind)
#1D3259
Tritanopia (blue-blind)
#4E2437
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e185b;
/* rgb */ color: rgb(78, 24, 91);
/* oklch */ color: oklch(32.7% 0.122 319.2);
Tailwind
colors: {
  custom: {
    50: '#825a8a',
    500: '#4e185b',
    950: '#000000',
  },
}
SCSS
$custom: #4e185b;
$custom-light: #825a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e185b",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 91
  },
  "hsl": {
    "h": 288.358,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32733,
    "c": 0.12207,
    "h": 319.2
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#4E185B
secondary
#4E923D
accent
#E14664
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E185B

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

Preview Lab → · Contrast checker → · Palette generator →

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