#4E1569#4E1569

#4E1569 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.5% C 0.140 H 312.1°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#4E1569
RGBrgb(78, 21, 105)
HSLhsl(281, 67%, 25%)
HSVhsv(281, 80%, 41%)
CMYKcmyk(25.7%, 80%, 0%, 58.8%)
CIE-LABlab(20.74, 40.29, -36.79)
CIE-LCHlch(20.74, 54.56, 317.60°)
OKLaboklab(33.47% 0.0939 -0.1041)
OKLCHoklch(33.47% 0.14 312.1)
XYZxyz(5.9594, 3.1761, 13.6610)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1569 #306915
analogous
#241569 #4E1569 #69155A
triadic
#4E1569 #694E15 #15694E
tetradic
#4E1569 #692415 #306915 #155A69
square
#4E1569 #692415 #306915 #155A69
split-complementary
#4E1569 #5A6915 #156924
monochromatic
#13051A #280B36 #4E1569 #741F9C #9A29CF

Accessibility & contrast

On white

12.84
#4E1569 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4E1569 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1569
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1569#FFFFFF#000000##FFFFFF
##4E15691.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#073367
Tritanopia (blue-blind)
#4B293E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1569;
/* rgb */ color: rgb(78, 21, 105);
/* oklch */ color: oklch(33.5% 0.140 312.1);
Tailwind
colors: {
  custom: {
    50: '#835994',
    500: '#4e1569',
    950: '#000000',
  },
}
SCSS
$custom: #4e1569;
$custom-light: #835994;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1569",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 105
  },
  "hsl": {
    "h": 280.714,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33474,
    "c": 0.14022,
    "h": 312.1
  },
  "luminance": 0.03176
}

Semantic roles & 50–950 ramp

primary
#4E1569
secondary
#5BA03A
accent
#EA3E75
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1569

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

Preview Lab → · Contrast checker → · Palette generator →

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