#4D1456#4D1456

#4D1456 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 31.8% C 0.122 H 321.9°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#4D1456
RGBrgb(77, 20, 86)
HSLhsl(292, 62%, 21%)
HSVhsv(292, 77%, 34%)
CMYKcmyk(10.5%, 76.7%, 0%, 66.3%)
CIE-LABlab(19.01, 36.30, -26.98)
CIE-LCHlch(19.01, 45.23, 323.38°)
OKLaboklab(31.77% 0.096 -0.0754)
OKLCHoklch(31.77% 0.122 321.9)
XYZxyz(4.9903, 2.7503, 9.0703)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1456 #1D5614
analogous
#2C1456 #4D1456 #56143E
triadic
#4D1456 #564D14 #14564D
tetradic
#4D1456 #562C14 #1D5614 #143E56
square
#4D1456 #562C14 #1D5614 #143E56
split-complementary
#4D1456 #3E5614 #14562C
monochromatic
#160619 #210824 #4D1456 #792088 #A62BB9

Accessibility & contrast

On white

13.55
#4D1456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4D1456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D1456
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1456#FFFFFF#000000##FFFFFF
##4D14561.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d1456;
/* rgb */ color: rgb(77, 20, 86);
/* oklch */ color: oklch(31.8% 0.122 321.9);
Tailwind
colors: {
  custom: {
    50: '#815886',
    500: '#4d1456',
    950: '#000000',
  },
}
SCSS
$custom: #4d1456;
$custom-light: #815886;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1456",
  "rgb": {
    "r": 77,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 291.818,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3177,
    "c": 0.12209,
    "h": 321.9
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#4D1456
secondary
#448E38
accent
#E54259
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D1456

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

Preview Lab → · Contrast checker → · Palette generator →

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