#4D0D4D#4D0D4D

#4D0D4D is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.122 H 328.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4D0D4D
RGBrgb(77, 13, 77)
HSLhsl(300, 71%, 18%)
HSVhsv(300, 83%, 30%)
CMYKcmyk(0%, 83.1%, 0%, 69.8%)
CIE-LABlab(17.47, 37.21, -23.34)
CIE-LCHlch(17.47, 43.92, 327.91°)
OKLaboklab(30.47% 0.1039 -0.0647)
OKLCHoklch(30.47% 0.122 328.1)
XYZxyz(4.5440, 2.4018, 7.2440)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D4D #0D4D0D
analogous
#2D0D4D #4D0D4D #4D0D2D
triadic
#4D0D4D #4D4D0D #0D4D4D
tetradic
#4D0D4D #4D2D0D #0D4D0D #0D2D4D
square
#4D0D4D #4D2D0D #0D4D0D #0D2D4D
split-complementary
#4D0D4D #2D4D0D #0D4D2D
monochromatic
#1A041A #1A041A #4D0D4D #811681 #B61FB6

Accessibility & contrast

On white

14.19
#4D0D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4D0D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0D4D
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D4D#FFFFFF#000000##FFFFFF
##4D0D4D1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01264F
Deuteranopia (green-blind)
#1F2E4B
Tritanopia (blue-blind)
#50182C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0d4d;
/* rgb */ color: rgb(77, 13, 77);
/* oklch */ color: oklch(30.5% 0.122 328.1);
Tailwind
colors: {
  custom: {
    50: '#82547f',
    500: '#4d0d4d',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d4d;
$custom-light: #82547f;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d4d",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 77
  },
  "hsl": {
    "h": 300,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30473,
    "c": 0.12236,
    "h": 328.1
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#4D0D4D
secondary
#2E882E
accent
#EE3A3A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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