#4D1554#4D1554

#4D1554 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.7% C 0.119 H 323.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4D1554
RGBrgb(77, 21, 84)
HSLhsl(293, 60%, 21%)
HSVhsv(293, 75%, 33%)
CMYKcmyk(8.3%, 75%, 0%, 67.1%)
CIE-LABlab(19.03, 35.45, -25.60)
CIE-LCHlch(19.03, 43.73, 324.16°)
OKLaboklab(31.74% 0.095 -0.0714)
OKLCHoklch(31.74% 0.119 323.1)
XYZxyz(4.9288, 2.7545, 8.6578)
Luminance0.0275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1554 #1C5415
analogous
#2D1554 #4D1554 #54153B
triadic
#4D1554 #544D15 #15544D
tetradic
#4D1554 #542D15 #1C5415 #153B54
square
#4D1554 #542D15 #1C5415 #153B54
split-complementary
#4D1554 #3B5415 #15542D
monochromatic
#160618 #200923 #4D1554 #7A2185 #A72DB6

Accessibility & contrast

On white

13.54
#4D1554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1554
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1554#FFFFFF#000000##FFFFFF
##4D15541.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032A56
Deuteranopia (green-blind)
#1F3052
Tritanopia (blue-blind)
#4E2032
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1554;
/* rgb */ color: rgb(77, 21, 84);
/* oklch */ color: oklch(31.7% 0.119 323.1);
Tailwind
colors: {
  custom: {
    50: '#815884',
    500: '#4d1554',
    950: '#000000',
  },
}
SCSS
$custom: #4d1554;
$custom-light: #815884;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1554",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 293.333,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3174,
    "c": 0.11878,
    "h": 323.1
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

primary
#4D1554
secondary
#428C39
accent
#E34556
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1554

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

Preview Lab → · Contrast checker → · Palette generator →

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