#4C0B46#4C0B46

#4C0B46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.118 H 332.3°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#4C0B46
RGBrgb(76, 11, 70)
HSLhsl(306, 75%, 17%)
HSVhsv(306, 86%, 30%)
CMYKcmyk(0%, 85.5%, 7.9%, 70.2%)
CIE-LABlab(16.59, 36.36, -19.91)
CIE-LCHlch(16.59, 41.45, 331.29°)
OKLaboklab(29.67% 0.1046 -0.0548)
OKLCHoklch(29.67% 0.118 332.3)
XYZxyz(4.2057, 2.2184, 5.9999)
Luminance0.0222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B46 #0B4C11
analogous
#320B4C #4C0B46 #4C0B26
triadic
#4C0B46 #464C0B #0B464C
tetradic
#4C0B46 #4C320B #0B4C11 #0B264C
square
#4C0B46 #4C320B #0B4C11 #0B264C
split-complementary
#4C0B46 #264C0B #0B4C32
monochromatic
#1B0419 #1B0419 #4C0B46 #811377 #B71AA8

Accessibility & contrast

On white

14.55
#4C0B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C0B46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B46
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B46#FFFFFF#000000##FFFFFF
##4C0B461.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072348
Deuteranopia (green-blind)
#212C44
Tritanopia (blue-blind)
#501328
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0b46;
/* rgb */ color: rgb(76, 11, 70);
/* oklch */ color: oklch(29.7% 0.118 332.3);
Tailwind
colors: {
  custom: {
    50: '#815379',
    500: '#4c0b46',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b46;
$custom-light: #815379;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b46",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 305.538,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29667,
    "c": 0.11804,
    "h": 332.3
  },
  "luminance": 0.02218
}

Semantic roles & 50–950 ramp

primary
#4C0B46
secondary
#2B8833
accent
#F14836
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B46

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

Preview Lab → · Contrast checker → · Palette generator →

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