#4D0D56#4D0D56

#4D0D56 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.130 H 322.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#4D0D56
RGBrgb(77, 13, 86)
HSLhsl(293, 74%, 19%)
HSVhsv(293, 85%, 34%)
CMYKcmyk(10.5%, 84.9%, 0%, 66.3%)
CIE-LABlab(18.09, 38.95, -28.46)
CIE-LCHlch(18.09, 48.24, 323.85°)
OKLaboklab(31.11% 0.1032 -0.0797)
OKLCHoklch(31.11% 0.13 322.3)
XYZxyz(4.8840, 2.5378, 9.0349)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D56 #16560D
analogous
#290D56 #4D0D56 #560D3B
triadic
#4D0D56 #564D0D #0D564D
tetradic
#4D0D56 #56290D #16560D #0D3B56
square
#4D0D56 #56290D #16560D #0D3B56
split-complementary
#4D0D56 #3B560D #0D5629
monochromatic
#18041B #1D0521 #4D0D56 #7D158B #AC1DC0

Accessibility & contrast

On white

13.93
#4D0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4D0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0D56
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D56#FFFFFF#000000##FFFFFF
##4D0D561.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002858
Deuteranopia (green-blind)
#192F54
Tritanopia (blue-blind)
#4E1C32
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4d0d56;
/* rgb */ color: rgb(77, 13, 86);
/* oklch */ color: oklch(31.1% 0.130 322.3);
Tailwind
colors: {
  custom: {
    50: '#825586',
    500: '#4d0d56',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d56;
$custom-light: #825586;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d56",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 292.603,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.31112,
    "c": 0.13037,
    "h": 322.3
  },
  "luminance": 0.02538
}

Semantic roles & 50–950 ramp

primary
#4D0D56
secondary
#3A912E
accent
#F0374E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4D0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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