#4D1555#4D1555

#4D1555 is a dark, moderate purple. Relative luminance 0.028; OKLCH L 31.8% C 0.120 H 322.4°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#4D1555
RGBrgb(77, 21, 85)
HSLhsl(293, 60%, 21%)
HSVhsv(293, 75%, 33%)
CMYKcmyk(9.4%, 75.3%, 0%, 66.7%)
CIE-LABlab(19.10, 35.66, -26.17)
CIE-LCHlch(19.10, 44.23, 323.73°)
OKLaboklab(31.81% 0.0949 -0.073)
OKLCHoklch(31.81% 0.12 322.4)
XYZxyz(4.9683, 2.7703, 8.8656)
Luminance0.0277 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D1555 #1D5515
analogous
#2D1555 #4D1555 #55153D
triadic
#4D1555 #554D15 #15554D
tetradic
#4D1555 #552D15 #1D5515 #153D55
square
#4D1555 #552D15 #1D5515 #153D55
split-complementary
#4D1555 #3D5515 #15552D
monochromatic
#160619 #210924 #4D1555 #792186 #A62DB7

Accessibility & contrast

On white

13.51
#4D1555 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D1555
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D1555#FFFFFF#000000##FFFFFF
##4D15551.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022A57
Deuteranopia (green-blind)
#1E3153
Tritanopia (blue-blind)
#4E2033
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4d1555;
/* rgb */ color: rgb(77, 21, 85);
/* oklch */ color: oklch(31.8% 0.120 322.4);
Tailwind
colors: {
  custom: {
    50: '#815885',
    500: '#4d1555',
    950: '#000000',
  },
}
SCSS
$custom: #4d1555;
$custom-light: #815885;
$custom-dark: #000000;
JSON
{
  "hex": "#4d1555",
  "rgb": {
    "r": 77,
    "g": 21,
    "b": 85
  },
  "hsl": {
    "h": 292.5,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31809,
    "c": 0.11976,
    "h": 322.4
  },
  "luminance": 0.0277
}

Semantic roles & 50–950 ramp

primary
#4D1555
secondary
#448D39
accent
#E44458
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B040B
muted
#7C797C

Preview Lab

Preview with #4D1555

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

Preview Lab → · Contrast checker → · Palette generator →

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