#4E1567#4E1567

#4E1567 is a dark, vivid purple. Relative luminance 0.031; OKLCH L 33.3% C 0.138 H 313.0°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#4E1567
RGBrgb(78, 21, 103)
HSLhsl(282, 66%, 24%)
HSVhsv(282, 80%, 40%)
CMYKcmyk(24.3%, 79.6%, 0%, 59.6%)
CIE-LABlab(20.58, 39.83, -35.73)
CIE-LCHlch(20.58, 53.51, 318.11°)
OKLaboklab(33.31% 0.0943 -0.101)
OKLCHoklch(33.31% 0.138 313)
XYZxyz(5.8578, 3.1355, 13.1260)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1567 #2E6715
analogous
#251567 #4E1567 #671557
triadic
#4E1567 #674E15 #15674E
tetradic
#4E1567 #672515 #2E6715 #155767
square
#4E1567 #672515 #2E6715 #155767
split-complementary
#4E1567 #576715 #156725
monochromatic
#130519 #280B34 #4E1567 #741F9A #9B2ACD

Accessibility & contrast

On white

12.91
#4E1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4E1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1567
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1567#FFFFFF#000000##FFFFFF
##4E15671.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#0C3365
Tritanopia (blue-blind)
#4B283D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4e1567;
/* rgb */ color: rgb(78, 21, 103);
/* oklch */ color: oklch(33.3% 0.138 313.0);
Tailwind
colors: {
  custom: {
    50: '#835993',
    500: '#4e1567',
    950: '#000000',
  },
}
SCSS
$custom: #4e1567;
$custom-light: #835993;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1567",
  "rgb": {
    "r": 78,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 281.707,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33313,
    "c": 0.1382,
    "h": 313
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#4E1567
secondary
#589E3A
accent
#E93F73
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4E1567

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

Preview Lab → · Contrast checker → · Palette generator →

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