#4C0B49#4C0B49

#4C0B49 is a dark, vivid purple. Relative luminance 0.023; OKLCH L 29.9% C 0.121 H 330.2°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#4C0B49
RGBrgb(76, 11, 73)
HSLhsl(303, 75%, 17%)
HSVhsv(303, 86%, 30%)
CMYKcmyk(0%, 85.5%, 3.9%, 70.2%)
CIE-LABlab(16.78, 36.89, -21.69)
CIE-LCHlch(16.78, 42.80, 329.55°)
OKLaboklab(29.86% 0.1046 -0.0599)
OKLCHoklch(29.86% 0.121 330.2)
XYZxyz(4.3027, 2.2572, 6.5111)
Luminance0.0226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B49 #0B4C0E
analogous
#2F0B4C #4C0B49 #4C0B29
triadic
#4C0B49 #494C0B #0B494C
tetradic
#4C0B49 #4C2F0B #0B4C0E #0B294C
square
#4C0B49 #4C2F0B #0B4C0E #0B294C
split-complementary
#4C0B49 #294C0B #0B4C2F
monochromatic
#1B041A #1B041A #4C0B49 #81137C #B71AB0

Accessibility & contrast

On white

14.47
#4C0B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B49
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B49#FFFFFF#000000##FFFFFF
##4C0B491.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244B
Deuteranopia (green-blind)
#202C47
Tritanopia (blue-blind)
#4F152A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0b49;
/* rgb */ color: rgb(76, 11, 73);
/* oklch */ color: oklch(29.9% 0.121 330.2);
Tailwind
colors: {
  custom: {
    50: '#81537c',
    500: '#4c0b49',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b49;
$custom-light: #81537c;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b49",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 302.769,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29863,
    "c": 0.12054,
    "h": 330.2
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#4C0B49
secondary
#2B882F
accent
#F13F36
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B49

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

Preview Lab → · Contrast checker → · Palette generator →

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