#4D1556#4D1556

#4D1556 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.9% C 0.121 H 321.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#4D1556
RGBrgb(77, 21, 86)
HSLhsl(292, 61%, 21%)
HSVhsv(292, 76%, 34%)
CMYKcmyk(10.5%, 75.6%, 0%, 66.3%)
CIE-LABlab(19.17, 35.87, -26.73)
CIE-LCHlch(19.17, 44.74, 323.30°)
OKLaboklab(31.88% 0.0949 -0.0747)
OKLCHoklch(31.88% 0.121 321.8)
XYZxyz(5.0083, 2.7863, 9.0763)
Luminance0.0279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1556 #1E5615
analogous
#2C1556 #4D1556 #56153E
triadic
#4D1556 #564D15 #15564D
tetradic
#4D1556 #562C15 #1E5615 #153E56
square
#4D1556 #562C15 #1E5615 #153E56
split-complementary
#4D1556 #3E5615 #15562C
monochromatic
#160619 #210925 #4D1556 #792187 #A52DB8

Accessibility & contrast

On white

13.49
#4D1556 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4D1556 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1556
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1556#FFFFFF#000000##FFFFFF
##4D15561.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#1D3154
Tritanopia (blue-blind)
#4E2134
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1556;
/* rgb */ color: rgb(77, 21, 86);
/* oklch */ color: oklch(31.9% 0.121 321.8);
Tailwind
colors: {
  custom: {
    50: '#815886',
    500: '#4d1556',
    950: '#000000',
  },
}
SCSS
$custom: #4d1556;
$custom-light: #815886;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1556",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 86
  },
  "hsl": {
    "h": 291.692,
    "s": 60.748,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31879,
    "c": 0.12074,
    "h": 321.8
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#4D1556
secondary
#458E39
accent
#E4445A
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1556

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

Preview Lab → · Contrast checker → · Palette generator →

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