#4D0C4C#4D0C4C

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

Color values

HEX#4D0C4C
RGBrgb(77, 12, 76)
HSLhsl(301, 73%, 17%)
HSVhsv(301, 84%, 30%)
CMYKcmyk(0%, 84.4%, 1.3%, 69.8%)
CIE-LABlab(17.29, 37.36, -22.94)
CIE-LCHlch(17.29, 43.84, 328.45°)
OKLaboklab(30.32% 0.1048 -0.0635)
OKLCHoklch(30.32% 0.123 328.8)
XYZxyz(4.4965, 2.3629, 7.0553)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C4C #0C4D0D
analogous
#2D0C4D #4D0C4C #4D0C2C
triadic
#4D0C4C #4C4D0C #0C4C4D
tetradic
#4D0C4C #4D2D0C #0C4D0D #0C2C4D
square
#4D0C4C #4D2D0C #0C4D0D #0C2C4D
split-complementary
#4D0C4C #2C4D0C #0C4D2D
monochromatic
#1A041A #1A041A #4D0C4C #821480 #B71DB5

Accessibility & contrast

On white

14.26
#4D0C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C4C
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C4C#FFFFFF#000000##FFFFFF
##4D0C4C1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01254E
Deuteranopia (green-blind)
#1F2D4A
Tritanopia (blue-blind)
#50162C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4d0c4c;
/* rgb */ color: rgb(77, 12, 76);
/* oklch */ color: oklch(30.3% 0.123 328.8);
Tailwind
colors: {
  custom: {
    50: '#82547e',
    500: '#4d0c4c',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c4c;
$custom-light: #82547e;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c4c",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 300.923,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30322,
    "c": 0.12258,
    "h": 328.8
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#4D0C4C
secondary
#2C892E
accent
#F03B38
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4D0C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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