#4E1561#4E1561

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

Color values

HEX#4E1561
RGBrgb(78, 21, 97)
HSLhsl(285, 64%, 23%)
HSVhsv(285, 78%, 38%)
CMYKcmyk(19.6%, 78.4%, 0%, 62%)
CIE-LABlab(20.12, 38.49, -32.52)
CIE-LCHlch(20.12, 50.39, 319.80°)
OKLaboklab(32.84% 0.0953 -0.0916)
OKLCHoklch(32.84% 0.132 316.1)
XYZxyz(5.5674, 3.0193, 11.5965)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1561 #286115
analogous
#281561 #4E1561 #61154E
triadic
#4E1561 #614E15 #15614E
tetradic
#4E1561 #612815 #286115 #154E61
square
#4E1561 #612815 #286115 #154E61
split-complementary
#4E1561 #4E6115 #156128
monochromatic
#140519 #260A2F #4E1561 #762093 #9F2BC6

Accessibility & contrast

On white

13.09
#4E1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E1561
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1561#FFFFFF#000000##FFFFFF
##4E15611.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#14325F
Tritanopia (blue-blind)
#4D253A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4e1561;
/* rgb */ color: rgb(78, 21, 97);
/* oklch */ color: oklch(32.8% 0.132 316.1);
Tailwind
colors: {
  custom: {
    50: '#83598e',
    500: '#4e1561',
    950: '#000000',
  },
}
SCSS
$custom: #4e1561;
$custom-light: #83598e;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1561",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 285,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32844,
    "c": 0.13215,
    "h": 316.1
  },
  "luminance": 0.03019
}

Semantic roles & 50–950 ramp

primary
#4E1561
secondary
#51983A
accent
#E7406A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040C
muted
#7C797D

Preview Lab

Preview with #4E1561

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

Preview Lab → · Contrast checker → · Palette generator →

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