#4C0B4A#4C0B4A

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

Color values

HEX#4C0B4A
RGBrgb(76, 11, 74)
HSLhsl(302, 75%, 17%)
HSVhsv(302, 86%, 30%)
CMYKcmyk(0%, 85.5%, 2.6%, 70.2%)
CIE-LABlab(16.85, 37.08, -22.27)
CIE-LCHlch(16.85, 43.25, 329.00°)
OKLaboklab(29.93% 0.1046 -0.0616)
OKLCHoklch(29.93% 0.121 329.5)
XYZxyz(4.3362, 2.2706, 6.6871)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B4A #0B4C0D
analogous
#2E0B4C #4C0B4A #4C0B2A
triadic
#4C0B4A #4A4C0B #0B4A4C
tetradic
#4C0B4A #4C2E0B #0B4C0D #0B2A4C
square
#4C0B4A #4C2E0B #0B4C0D #0B2A4C
split-complementary
#4C0B4A #2A4C0B #0B4C2E
monochromatic
#1B041A #1B041A #4C0B4A #81137E #B71AB2

Accessibility & contrast

On white

14.44
#4C0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B4A
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B4A#FFFFFF#000000##FFFFFF
##4C0B4A1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02244C
Deuteranopia (green-blind)
#1F2D48
Tritanopia (blue-blind)
#4F152A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0b4a;
/* rgb */ color: rgb(76, 11, 74);
/* oklch */ color: oklch(29.9% 0.121 329.5);
Tailwind
colors: {
  custom: {
    50: '#81537d',
    500: '#4c0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b4a;
$custom-light: #81537d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b4a",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 301.846,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2993,
    "c": 0.12139,
    "h": 329.5
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#4C0B4A
secondary
#2B882E
accent
#F13C36
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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