#4E155C#4E155C

#4E155C is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.127 H 318.9°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#4E155C
RGBrgb(78, 21, 92)
HSLhsl(288, 63%, 22%)
HSVhsv(288, 77%, 36%)
CMYKcmyk(15.2%, 77.2%, 0%, 63.9%)
CIE-LABlab(19.76, 37.39, -29.79)
CIE-LCHlch(19.76, 47.81, 321.45°)
OKLaboklab(32.47% 0.0958 -0.0836)
OKLCHoklch(32.47% 0.127 318.9)
XYZxyz(5.3416, 2.9290, 10.4071)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E155C #235C15
analogous
#2B155C #4E155C #5C1547
triadic
#4E155C #5C4E15 #155C4E
tetradic
#4E155C #5C2B15 #235C15 #15475C
square
#4E155C #5C2B15 #235C15 #15475C
split-complementary
#4E155C #475C15 #155C2B
monochromatic
#150619 #240A2A #4E155C #78208E #A22CC0

Accessibility & contrast

On white

13.24
#4E155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4E155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E155C
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E155C#FFFFFF#000000##FFFFFF
##4E155C1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5E
Deuteranopia (green-blind)
#1A325A
Tritanopia (blue-blind)
#4E2337
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4e155c;
/* rgb */ color: rgb(78, 21, 92);
/* oklch */ color: oklch(32.5% 0.127 318.9);
Tailwind
colors: {
  custom: {
    50: '#82598a',
    500: '#4e155c',
    950: '#000000',
  },
}
SCSS
$custom: #4e155c;
$custom-light: #82598a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e155c",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 288.169,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.12715,
    "h": 318.9
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#4E155C
secondary
#4B9339
accent
#E64262
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E155C

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

Preview Lab → · Contrast checker → · Palette generator →

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