#4D0C43#4D0C43

#4D0C43 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.115 H 335.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#4D0C43
RGBrgb(77, 12, 67)
HSLhsl(309, 73%, 17%)
HSVhsv(309, 84%, 30%)
CMYKcmyk(0%, 84.4%, 13%, 69.8%)
CIE-LABlab(16.73, 35.76, -17.59)
CIE-LCHlch(16.73, 39.86, 333.80°)
OKLaboklab(29.74% 0.1046 -0.0481)
OKLCHoklch(29.74% 0.115 335.3)
XYZxyz(4.2052, 2.2464, 5.5212)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D0C43 #0C4D16
analogous
#370C4D #4D0C43 #4D0C22
triadic
#4D0C43 #434D0C #0C434D
tetradic
#4D0C43 #4D370C #0C4D16 #0C224D
square
#4D0C43 #4D370C #0C4D16 #0C224D
split-complementary
#4D0C43 #224D0C #0C4D37
monochromatic
#1A0417 #1A0417 #4D0C43 #821471 #B71D9F

Accessibility & contrast

On white

14.49
#4D0C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D0C43
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D0C43#FFFFFF#000000##FFFFFF
##4D0C431.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d0c43;
/* rgb */ color: rgb(77, 12, 67);
/* oklch */ color: oklch(29.7% 0.115 335.3);
Tailwind
colors: {
  custom: {
    50: '#825477',
    500: '#4d0c43',
    950: '#000000',
  },
}
SCSS
$custom: #4d0c43;
$custom-light: #825477;
$custom-dark: #000000;
JSON
{
  "hex": "#4d0c43",
  "rgb": {
    "r": 77,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 309.231,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.1151,
    "h": 335.3
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#4D0C43
secondary
#2C893A
accent
#F05438
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4D0C43

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

Preview Lab → · Contrast checker → · Palette generator →

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