#4D0C44#4D0C44

#4D0C44 is a dark, moderate purple. Relative luminance 0.023; OKLCH L 29.8% C 0.116 H 334.5°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#4D0C44
RGBrgb(77, 12, 68)
HSLhsl(308, 73%, 17%)
HSVhsv(308, 84%, 30%)
CMYKcmyk(0%, 84.4%, 11.7%, 69.8%)
CIE-LABlab(16.79, 35.93, -18.20)
CIE-LCHlch(16.79, 40.28, 333.14°)
OKLaboklab(29.81% 0.1047 -0.0498)
OKLCHoklch(29.81% 0.116 334.5)
XYZxyz(4.2355, 2.2585, 5.6806)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C44 #0C4D15
analogous
#360C4D #4D0C44 #4D0C23
triadic
#4D0C44 #444D0C #0C444D
tetradic
#4D0C44 #4D360C #0C4D15 #0C234D
square
#4D0C44 #4D360C #0C4D15 #0C234D
split-complementary
#4D0C44 #234D0C #0C4D36
monochromatic
#1A0417 #1A0417 #4D0C44 #821473 #B71DA2

Accessibility & contrast

On white

14.47
#4D0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4D0C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D0C44
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C44#FFFFFF#000000##FFFFFF
##4D0C441.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2345
Deuteranopia (green-blind)
#242D42
Tritanopia (blue-blind)
#511227
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4d0c44;
/* rgb */ color: rgb(77, 12, 68);
/* oklch */ color: oklch(29.8% 0.116 334.5);
Tailwind
colors: {
  custom: {
    50: '#825478',
    500: '#4d0c44',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c44;
$custom-light: #825478;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c44",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 308.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29805,
    "c": 0.11591,
    "h": 334.5
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#4D0C44
secondary
#2C8939
accent
#F05238
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4D0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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