#4C0D43#4C0D43

#4C0D43 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.113 H 334.6°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#4C0D43
RGBrgb(76, 13, 67)
HSLhsl(309, 71%, 17%)
HSVhsv(309, 83%, 30%)
CMYKcmyk(0%, 82.9%, 11.8%, 70.2%)
CIE-LABlab(16.65, 35.15, -17.73)
CIE-LCHlch(16.65, 39.37, 333.23°)
OKLaboklab(29.65% 0.1024 -0.0485)
OKLCHoklch(29.65% 0.113 334.6)
XYZxyz(4.1376, 2.2300, 5.5216)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D43 #0D4C16
analogous
#350D4C #4C0D43 #4C0D24
triadic
#4C0D43 #434C0D #0D434C
tetradic
#4C0D43 #4C350D #0D4C16 #0D244C
square
#4C0D43 #4C350D #0D4C16 #0D244C
split-complementary
#4C0D43 #244C0D #0D4C35
monochromatic
#1A0417 #1A0417 #4C0D43 #801671 #B51F9F

Accessibility & contrast

On white

14.52
#4C0D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D43
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D43#FFFFFF#000000##FFFFFF
##4C0D431.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2344
Deuteranopia (green-blind)
#232C42
Tritanopia (blue-blind)
#501327
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0d43;
/* rgb */ color: rgb(76, 13, 67);
/* oklch */ color: oklch(29.6% 0.113 334.6);
Tailwind
colors: {
  custom: {
    50: '#815477',
    500: '#4c0d43',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d43;
$custom-light: #815477;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d43",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 308.571,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29649,
    "c": 0.11332,
    "h": 334.6
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#4C0D43
secondary
#2E873A
accent
#EE543A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0D43

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

Preview Lab → · Contrast checker → · Palette generator →

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