#4C0B42#4C0B42

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

Color values

HEX#4C0B42
RGBrgb(76, 11, 66)
HSLhsl(309, 75%, 17%)
HSVhsv(309, 86%, 30%)
CMYKcmyk(0%, 85.5%, 13.2%, 70.2%)
CIE-LABlab(16.35, 35.67, -17.50)
CIE-LCHlch(16.35, 39.73, 333.86°)
OKLaboklab(29.42% 0.1044 -0.0478)
OKLCHoklch(29.42% 0.115 335.4)
XYZxyz(4.0836, 2.1696, 5.3569)
Luminance0.0217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B42 #0B4C15
analogous
#360B4C #4C0B42 #4C0B22
triadic
#4C0B42 #424C0B #0B424C
tetradic
#4C0B42 #4C360B #0B4C15 #0B224C
square
#4C0B42 #4C360B #0B4C15 #0B224C
split-complementary
#4C0B42 #224C0B #0B4C36
monochromatic
#1B0417 #1B0417 #4C0B42 #811370 #B71A9F

Accessibility & contrast

On white

14.65
#4C0B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4C0B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B42
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B42#FFFFFF#000000##FFFFFF
##4C0B421.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2243
Deuteranopia (green-blind)
#232C41
Tritanopia (blue-blind)
#501126
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4c0b42;
/* rgb */ color: rgb(76, 11, 66);
/* oklch */ color: oklch(29.4% 0.115 335.4);
Tailwind
colors: {
  custom: {
    50: '#815376',
    500: '#4c0b42',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b42;
$custom-light: #815376;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b42",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 309.231,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29416,
    "c": 0.1148,
    "h": 335.4
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#4C0B42
secondary
#2B8839
accent
#F15336
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0B42

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

Preview Lab → · Contrast checker → · Palette generator →

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