#4C0D46#4C0D46

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

Color values

HEX#4C0D46
RGBrgb(76, 13, 70)
HSLhsl(306, 71%, 17%)
HSVhsv(306, 83%, 30%)
CMYKcmyk(0%, 82.9%, 7.9%, 70.2%)
CIE-LABlab(16.83, 35.68, -19.54)
CIE-LCHlch(16.83, 40.68, 331.30°)
OKLaboklab(29.84% 0.1026 -0.0537)
OKLCHoklch(29.84% 0.116 332.4)
XYZxyz(4.2299, 2.2669, 6.0079)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D46 #0D4C13
analogous
#320D4C #4C0D46 #4C0D27
triadic
#4C0D46 #464C0D #0D464C
tetradic
#4C0D46 #4C320D #0D4C13 #0D274C
square
#4C0D46 #4C320D #0D4C13 #0D274C
split-complementary
#4C0D46 #274C0D #0D4C32
monochromatic
#1A0418 #1A0418 #4C0D46 #801676 #B51FA6

Accessibility & contrast

On white

14.45
#4C0D46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0D46
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D46#FFFFFF#000000##FFFFFF
##4C0D461.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092448
Deuteranopia (green-blind)
#222D45
Tritanopia (blue-blind)
#501429
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0d46;
/* rgb */ color: rgb(76, 13, 70);
/* oklch */ color: oklch(29.8% 0.116 332.4);
Tailwind
colors: {
  custom: {
    50: '#815479',
    500: '#4c0d46',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d46;
$custom-light: #815479;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d46",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 70
  },
  "hsl": {
    "h": 305.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.1158,
    "h": 332.4
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#4C0D46
secondary
#2E8736
accent
#EE4B3A
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0D46

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

Preview Lab → · Contrast checker → · Palette generator →

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