#4C0B48#4C0B48

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

Color values

HEX#4C0B48
RGBrgb(76, 11, 72)
HSLhsl(304, 75%, 17%)
HSVhsv(304, 86%, 30%)
CMYKcmyk(0%, 85.5%, 5.3%, 70.2%)
CIE-LABlab(16.72, 36.71, -21.10)
CIE-LCHlch(16.72, 42.34, 330.12°)
OKLaboklab(29.8% 0.1046 -0.0582)
OKLCHoklch(29.8% 0.12 330.9)
XYZxyz(4.2699, 2.2441, 6.3379)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B48 #0B4C0F
analogous
#300B4C #4C0B48 #4C0B28
triadic
#4C0B48 #484C0B #0B484C
tetradic
#4C0B48 #4C300B #0B4C0F #0B284C
square
#4C0B48 #4C300B #0B4C0F #0B284C
split-complementary
#4C0B48 #284C0B #0B4C30
monochromatic
#1B0419 #1B0419 #4C0B48 #81137B #B71AAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C0B48#FFFFFF#000000##FFFFFF
##4C0B481.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)
#04244A
Deuteranopia (green-blind)
#202C46
Tritanopia (blue-blind)
#4F1429
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0b48;
/* rgb */ color: rgb(76, 11, 72);
/* oklch */ color: oklch(29.8% 0.120 330.9);
Tailwind
colors: {
  custom: {
    50: '#81537b',
    500: '#4c0b48',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b48;
$custom-light: #81537b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b48",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 72
  },
  "hsl": {
    "h": 303.692,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29797,
    "c": 0.1197,
    "h": 330.9
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

primary
#4C0B48
secondary
#2B8830
accent
#F14236
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B48

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

Preview Lab → · Contrast checker → · Palette generator →

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