#4D1559#4D1559

#4D1559 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.124 H 320.0°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#4D1559
RGBrgb(77, 21, 89)
HSLhsl(289, 62%, 22%)
HSVhsv(289, 76%, 35%)
CMYKcmyk(13.5%, 76.4%, 0%, 65.1%)
CIE-LABlab(19.37, 36.51, -28.42)
CIE-LCHlch(19.37, 46.26, 322.10°)
OKLaboklab(32.09% 0.0947 -0.0796)
OKLCHoklch(32.09% 0.124 320)
XYZxyz(5.1317, 2.8356, 9.7263)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1559 #215915
analogous
#2B1559 #4D1559 #591543
triadic
#4D1559 #594D15 #15594D
tetradic
#4D1559 #592B15 #215915 #154359
square
#4D1559 #592B15 #215915 #154359
split-complementary
#4D1559 #435915 #15592B
monochromatic
#150619 #220927 #4D1559 #78218B #A32CBC

Accessibility & contrast

On white

13.40
#4D1559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1559
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1559#FFFFFF#000000##FFFFFF
##4D15591.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#4D2235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4d1559;
/* rgb */ color: rgb(77, 21, 89);
/* oklch */ color: oklch(32.1% 0.124 320.0);
Tailwind
colors: {
  custom: {
    50: '#815888',
    500: '#4d1559',
    950: '#000000',
  },
}
SCSS
$custom: #4d1559;
$custom-light: #815888;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1559",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 289.412,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32093,
    "c": 0.12371,
    "h": 320
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#4D1559
secondary
#499139
accent
#E5435F
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1559

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

Preview Lab → · Contrast checker → · Palette generator →

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