#4E185C#4E185C

#4E185C is a dark, vivid purple. Relative luminance 0.030; OKLCH L 32.8% C 0.123 H 318.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4E185C
RGBrgb(78, 24, 92)
HSLhsl(288, 59%, 23%)
HSVhsv(288, 74%, 36%)
CMYKcmyk(15.2%, 73.9%, 0%, 63.9%)
CIE-LABlab(20.23, 36.07, -29.04)
CIE-LCHlch(20.23, 46.30, 321.16°)
OKLaboklab(32.81% 0.0923 -0.0814)
OKLCHoklch(32.81% 0.123 318.6)
XYZxyz(5.4000, 3.0459, 10.4266)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E185C #265C18
analogous
#2C185C #4E185C #5C1848
triadic
#4E185C #5C4E18 #185C4E
tetradic
#4E185C #5C2C18 #265C18 #18485C
square
#4E185C #5C2C18 #265C18 #18485C
split-complementary
#4E185C #485C18 #185C2C
monochromatic
#150618 #250B2B #4E185C #77258D #A031BD

Accessibility & contrast

On white

13.05
#4E185C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E185C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E185C#FFFFFF#000000##FFFFFF
##4E185C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e185c;
/* rgb */ color: rgb(78, 24, 92);
/* oklch */ color: oklch(32.8% 0.123 318.6);
Tailwind
colors: {
  custom: {
    50: '#825a8a',
    500: '#4e185c',
    950: '#000000',
  },
}
SCSS
$custom: #4e185c;
$custom-light: #825a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e185c",
  "rgb": {
    "r": 78,
    "g": 24,
    "b": 92
  },
  "hsl": {
    "h": 287.647,
    "s": 58.621,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32805,
    "c": 0.12309,
    "h": 318.6
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#4E185C
secondary
#4F933D
accent
#E24666
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E185C

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

Preview Lab → · Contrast checker → · Palette generator →

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