#4C0B43#4C0B43

#4C0B43 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.5% C 0.116 H 334.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#4C0B43
RGBrgb(76, 11, 67)
HSLhsl(308, 75%, 17%)
HSVhsv(308, 86%, 30%)
CMYKcmyk(0%, 85.5%, 11.8%, 70.2%)
CIE-LABlab(16.41, 35.84, -18.11)
CIE-LCHlch(16.41, 40.15, 333.19°)
OKLaboklab(29.48% 0.1044 -0.0496)
OKLCHoklch(29.48% 0.116 334.6)
XYZxyz(4.1133, 2.1815, 5.5135)
Luminance0.0218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B43 #0B4C14
analogous
#350B4C #4C0B43 #4C0B22
triadic
#4C0B43 #434C0B #0B434C
tetradic
#4C0B43 #4C350B #0B4C14 #0B224C
square
#4C0B43 #4C350B #0B4C14 #0B224C
split-complementary
#4C0B43 #224C0B #0B4C35
monochromatic
#1B0418 #1B0418 #4C0B43 #811372 #B71AA1

Accessibility & contrast

On white

14.62
#4C0B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B43
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B43#FFFFFF#000000##FFFFFF
##4C0B431.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2344
Deuteranopia (green-blind)
#232C42
Tritanopia (blue-blind)
#501126
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0b43;
/* rgb */ color: rgb(76, 11, 67);
/* oklch */ color: oklch(29.5% 0.116 334.6);
Tailwind
colors: {
  custom: {
    50: '#815377',
    500: '#4c0b43',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b43;
$custom-light: #815377;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b43",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 308.308,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29478,
    "c": 0.1156,
    "h": 334.6
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#4C0B43
secondary
#2B8838
accent
#F15036
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4C0B43

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

Preview Lab → · Contrast checker → · Palette generator →

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