#4E185A#4E185A

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

Color values

HEX#4E185A
RGBrgb(78, 24, 90)
HSLhsl(289, 58%, 22%)
HSVhsv(289, 73%, 35%)
CMYKcmyk(13.3%, 73.3%, 0%, 64.7%)
CIE-LABlab(20.09, 35.63, -27.93)
CIE-LCHlch(20.09, 45.27, 321.91°)
OKLaboklab(32.66% 0.0924 -0.0781)
OKLCHoklch(32.66% 0.121 319.8)
XYZxyz(5.3138, 3.0114, 9.9722)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E185A #245A18
analogous
#2D185A #4E185A #5A1845
triadic
#4E185A #5A4E18 #185A4E
tetradic
#4E185A #5A2D18 #245A18 #18455A
square
#4E185A #5A2D18 #245A18 #18455A
split-complementary
#4E185A #455A18 #185A2D
monochromatic
#150618 #240B2A #4E185A #78258A #A232BB

Accessibility & contrast

On white

13.11
#4E185A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4E185A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E185A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E185A#FFFFFF#000000##FFFFFF
##4E185A1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012D5C
Deuteranopia (green-blind)
#1D3258
Tritanopia (blue-blind)
#4E2437
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e185a;
/* rgb */ color: rgb(78, 24, 90);
/* oklch */ color: oklch(32.7% 0.121 319.8);
Tailwind
colors: {
  custom: {
    50: '#825a89',
    500: '#4e185a',
    950: '#000000',
  },
}
SCSS
$custom: #4e185a;
$custom-light: #825a89;
$custom-dark: #000000;
JSON
{
  "hex": "#4e185a",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 90
  },
  "hsl": {
    "h": 289.091,
    "s": 57.895,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32662,
    "c": 0.12105,
    "h": 319.8
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#4E185A
secondary
#4C913D
accent
#E14763
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E185A

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

Preview Lab → · Contrast checker → · Palette generator →

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