#4D1567#4D1567

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

Color values

HEX#4D1567
RGBrgb(77, 21, 103)
HSLhsl(281, 66%, 24%)
HSVhsv(281, 80%, 40%)
CMYKcmyk(25.2%, 79.6%, 0%, 59.6%)
CIE-LABlab(20.41, 39.62, -36.01)
CIE-LCHlch(20.41, 53.54, 317.74°)
OKLaboklab(33.16% 0.0929 -0.1018)
OKLCHoklch(33.16% 0.138 312.4)
XYZxyz(5.7765, 3.0935, 13.1222)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1567 #2F6715
analogous
#241567 #4D1567 #671558
triadic
#4D1567 #674D15 #15674D
tetradic
#4D1567 #672415 #2F6715 #155867
square
#4D1567 #672415 #2F6715 #155867
split-complementary
#4D1567 #586715 #156724
monochromatic
#130519 #270B34 #4D1567 #731F9A #992ACD

Accessibility & contrast

On white

12.97
#4D1567 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4D1567 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1567
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1567#FFFFFF#000000##FFFFFF
##4D15671.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E69
Deuteranopia (green-blind)
#093265
Tritanopia (blue-blind)
#4A283D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4d1567;
/* rgb */ color: rgb(77, 21, 103);
/* oklch */ color: oklch(33.2% 0.138 312.4);
Tailwind
colors: {
  custom: {
    50: '#825993',
    500: '#4d1567',
    950: '#000000',
  },
}
SCSS
$custom: #4d1567;
$custom-light: #825993;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1567",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 103
  },
  "hsl": {
    "h": 280.976,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33164,
    "c": 0.13784,
    "h": 312.4
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#4D1567
secondary
#5A9E3A
accent
#E93F75
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4D1567

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

Preview Lab → · Contrast checker → · Palette generator →

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