#4D0D4B#4D0D4B

#4D0D4B is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.3% C 0.121 H 329.4°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#4D0D4B
RGBrgb(77, 13, 75)
HSLhsl(302, 71%, 18%)
HSVhsv(302, 83%, 30%)
CMYKcmyk(0%, 83.1%, 2.6%, 69.8%)
CIE-LABlab(17.34, 36.84, -22.17)
CIE-LCHlch(17.34, 42.99, 328.96°)
OKLaboklab(30.34% 0.1039 -0.0613)
OKLCHoklch(30.34% 0.121 329.4)
XYZxyz(4.4745, 2.3740, 6.8778)
Luminance0.0237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D4B #0D4D0F
analogous
#2F0D4D #4D0D4B #4D0D2B
triadic
#4D0D4B #4B4D0D #0D4B4D
tetradic
#4D0D4B #4D2F0D #0D4D0F #0D2B4D
square
#4D0D4B #4D2F0D #0D4D0F #0D2B4D
split-complementary
#4D0D4B #2B4D0D #0D4D2F
monochromatic
#1A0419 #1A0419 #4D0D4B #81167E #B61FB1

Accessibility & contrast

On white

14.24
#4D0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4D0D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0D4B
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D4B#FFFFFF#000000##FFFFFF
##4D0D4B1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#202E49
Tritanopia (blue-blind)
#50172B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0d4b;
/* rgb */ color: rgb(77, 13, 75);
/* oklch */ color: oklch(30.3% 0.121 329.4);
Tailwind
colors: {
  custom: {
    50: '#82547d',
    500: '#4d0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d4b;
$custom-light: #82547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d4b",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 301.875,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30338,
    "c": 0.12063,
    "h": 329.4
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#4D0D4B
secondary
#2E8830
accent
#EE403A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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