#4D0D4C#4D0D4C

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

Color values

HEX#4D0D4C
RGBrgb(77, 13, 76)
HSLhsl(301, 71%, 18%)
HSVhsv(301, 83%, 30%)
CMYKcmyk(0%, 83.1%, 1.3%, 69.8%)
CIE-LABlab(17.40, 37.02, -22.75)
CIE-LCHlch(17.40, 43.46, 328.42°)
OKLaboklab(30.4% 0.1039 -0.063)
OKLCHoklch(30.4% 0.121 328.8)
XYZxyz(4.5090, 2.3878, 7.0595)
Luminance0.0239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0D4C #0D4D0E
analogous
#2E0D4D #4D0D4C #4D0D2C
triadic
#4D0D4C #4C4D0D #0D4C4D
tetradic
#4D0D4C #4D2E0D #0D4D0E #0D2C4D
square
#4D0D4C #4D2E0D #0D4D0E #0D2C4D
split-complementary
#4D0D4C #2C4D0D #0D4D2E
monochromatic
#1A041A #1A041A #4D0D4C #811680 #B61FB3

Accessibility & contrast

On white

14.21
#4D0D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0D4C
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0D4C#FFFFFF#000000##FFFFFF
##4D0D4C1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02254E
Deuteranopia (green-blind)
#202E4A
Tritanopia (blue-blind)
#50172C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4d0d4c;
/* rgb */ color: rgb(77, 13, 76);
/* oklch */ color: oklch(30.4% 0.121 328.8);
Tailwind
colors: {
  custom: {
    50: '#82547e',
    500: '#4d0d4c',
    950: '#000000',
  },
}
SCSS
$custom: #4d0d4c;
$custom-light: #82547e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0d4c",
  "rgb": {
    "r": 77,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 300.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30405,
    "c": 0.12149,
    "h": 328.8
  },
  "luminance": 0.02387
}

Semantic roles & 50–950 ramp

primary
#4D0D4C
secondary
#2E882F
accent
#EE3D3A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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