#4C0B4B#4C0B4B

#4C0B4B is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.0% C 0.122 H 328.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#4C0B4B
RGBrgb(76, 11, 75)
HSLhsl(301, 75%, 17%)
HSVhsv(301, 86%, 30%)
CMYKcmyk(0%, 85.5%, 1.3%, 70.2%)
CIE-LABlab(16.91, 37.26, -22.86)
CIE-LCHlch(16.91, 43.71, 328.47°)
OKLaboklab(30% 0.1046 -0.0633)
OKLCHoklch(30% 0.122 328.8)
XYZxyz(4.3701, 2.2842, 6.8660)
Luminance0.0228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B4B #0B4C0C
analogous
#2D0B4C #4C0B4B #4C0B2B
triadic
#4C0B4B #4B4C0B #0B4B4C
tetradic
#4C0B4B #4C2D0B #0B4C0C #0B2B4C
square
#4C0B4B #4C2D0B #0B4C0C #0B2B4C
split-complementary
#4C0B4B #2B4C0B #0B4C2D
monochromatic
#1B041A #1B041A #4C0B4B #811380 #B71AB5

Accessibility & contrast

On white

14.42
#4C0B4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#4C0B4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B4B
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B4B#FFFFFF#000000##FFFFFF
##4C0B4B1.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#1F2D49
Tritanopia (blue-blind)
#4F162B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0b4b;
/* rgb */ color: rgb(76, 11, 75);
/* oklch */ color: oklch(30.0% 0.122 328.8);
Tailwind
colors: {
  custom: {
    50: '#81537d',
    500: '#4c0b4b',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b4b;
$custom-light: #81537d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b4b",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 75
  },
  "hsl": {
    "h": 300.923,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29998,
    "c": 0.12224,
    "h": 328.8
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#4C0B4B
secondary
#2B882C
accent
#F13936
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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