#4E1556#4E1556

#4E1556 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.121 H 322.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#4E1556
RGBrgb(78, 21, 86)
HSLhsl(293, 61%, 21%)
HSVhsv(293, 76%, 34%)
CMYKcmyk(9.3%, 75.6%, 0%, 66.3%)
CIE-LABlab(19.34, 36.12, -26.44)
CIE-LCHlch(19.34, 44.77, 323.79°)
OKLaboklab(32.04% 0.0962 -0.0738)
OKLCHoklch(32.04% 0.121 322.5)
XYZxyz(5.0896, 2.8282, 9.0801)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1556 #1D5615
analogous
#2D1556 #4E1556 #56153D
triadic
#4E1556 #564E15 #15564E
tetradic
#4E1556 #562D15 #1D5615 #153D56
square
#4E1556 #562D15 #1D5615 #153D56
split-complementary
#4E1556 #3D5615 #15562D
monochromatic
#160619 #210925 #4E1556 #7B2187 #A72DB8

Accessibility & contrast

On white

13.41
#4E1556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1556
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1556#FFFFFF#000000##FFFFFF
##4E15561.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#012B58
Deuteranopia (green-blind)
#1E3154
Tritanopia (blue-blind)
#4F2034
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1556;
/* rgb */ color: rgb(78, 21, 86);
/* oklch */ color: oklch(32.0% 0.121 322.5);
Tailwind
colors: {
  custom: {
    50: '#825886',
    500: '#4e1556',
    950: '#000000',
  },
}
SCSS
$custom: #4e1556;
$custom-light: #825886;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1556",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 292.615,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.3204,
    "c": 0.12125,
    "h": 322.5
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#4E1556
secondary
#448E39
accent
#E44458
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4E1556

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

Preview Lab → · Contrast checker → · Palette generator →

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