#4D0D4E#4D0D4E

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

Color values

HEX#4D0D4E
RGBrgb(77, 13, 78)
HSLhsl(299, 71%, 18%)
HSVhsv(299, 83%, 31%)
CMYKcmyk(1.3%, 83.3%, 0%, 69.4%)
CIE-LABlab(17.53, 37.40, -23.92)
CIE-LCHlch(17.53, 44.39, 327.40°)
OKLaboklab(30.54% 0.1038 -0.0664)
OKLCHoklch(30.54% 0.123 327.4)
XYZxyz(4.5796, 2.4160, 7.4314)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D4E #0E4E0D
analogous
#2C0D4E #4D0D4E #4E0D2E
triadic
#4D0D4E #4E4D0D #0D4E4D
tetradic
#4D0D4E #4E2C0D #0E4E0D #0D2E4E
square
#4D0D4E #4E2C0D #0E4E0D #0D2E4E
split-complementary
#4D0D4E #2E4E0D #0D4E2C
monochromatic
#1A041A #1A041A #4D0D4E #811682 #B51EB7

Accessibility & contrast

On white

14.16
#4D0D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0D4E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D4E#FFFFFF#000000##FFFFFF
##4D0D4E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#1F2E4C
Tritanopia (blue-blind)
#50182D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0d4e;
/* rgb */ color: rgb(77, 13, 78);
/* oklch */ color: oklch(30.5% 0.123 327.4);
Tailwind
colors: {
  custom: {
    50: '#825480',
    500: '#4d0d4e',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d4e;
$custom-light: #825480;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d4e",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 299.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.30541,
    "c": 0.12323,
    "h": 327.4
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#4D0D4E
secondary
#2F892E
accent
#EE3A3C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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