#4D0D4F#4D0D4F

#4D0D4F is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.6% C 0.124 H 326.7°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4D0D4F
RGBrgb(77, 13, 79)
HSLhsl(298, 72%, 18%)
HSVhsv(298, 84%, 31%)
CMYKcmyk(2.5%, 83.5%, 0%, 69%)
CIE-LABlab(17.60, 37.59, -24.49)
CIE-LCHlch(17.60, 44.86, 326.91°)
OKLaboklab(30.61% 0.1038 -0.0681)
OKLCHoklch(30.61% 0.124 326.7)
XYZxyz(4.6157, 2.4305, 7.6216)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D4F #0F4F0D
analogous
#2C0D4F #4D0D4F #4F0D30
triadic
#4D0D4F #4F4D0D #0D4F4D
tetradic
#4D0D4F #4F2C0D #0F4F0D #0D304F
square
#4D0D4F #4F2C0D #0F4F0D #0D304F
split-complementary
#4D0D4F #304F0D #0D4F2C
monochromatic
#1A041A #1A041A #4D0D4F #801684 #B31EB8

Accessibility & contrast

On white

14.13
#4D0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4D0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0D4F
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D4F#FFFFFF#000000##FFFFFF
##4D0D4F1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002651
Deuteranopia (green-blind)
#1E2E4D
Tritanopia (blue-blind)
#4F192E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0d4f;
/* rgb */ color: rgb(77, 13, 79);
/* oklch */ color: oklch(30.6% 0.124 326.7);
Tailwind
colors: {
  custom: {
    50: '#825581',
    500: '#4d0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d4f;
$custom-light: #825581;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d4f",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 298.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3061,
    "c": 0.12411,
    "h": 326.7
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#4D0D4F
secondary
#318A2E
accent
#EE393F
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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