#4C0B56#4C0B56

#4C0B56 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.8% C 0.132 H 321.8°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#4C0B56
RGBrgb(76, 11, 86)
HSLhsl(292, 77%, 19%)
HSVhsv(292, 87%, 34%)
CMYKcmyk(11.6%, 87.2%, 0%, 66.3%)
CIE-LABlab(17.68, 39.37, -29.12)
CIE-LCHlch(17.68, 48.97, 323.51°)
OKLaboklab(30.79% 0.1036 -0.0816)
OKLCHoklch(30.79% 0.132 321.8)
XYZxyz(4.7797, 2.4480, 9.0230)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B56 #15560B
analogous
#270B56 #4C0B56 #560B3B
triadic
#4C0B56 #564C0B #0B564C
tetradic
#4C0B56 #56270B #15560B #0B3B56
square
#4C0B56 #56270B #15560B #0B3B56
split-complementary
#4C0B56 #3B560B #0B5627
monochromatic
#18031B #1C0420 #4C0B56 #7C128C #AC19C3

Accessibility & contrast

On white

14.10
#4C0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0B56
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B56#FFFFFF#000000##FFFFFF
##4C0B561.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#162E54
Tritanopia (blue-blind)
#4D1B31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0b56;
/* rgb */ color: rgb(76, 11, 86);
/* oklch */ color: oklch(30.8% 0.132 321.8);
Tailwind
colors: {
  custom: {
    50: '#815486',
    500: '#4c0b56',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b56;
$custom-light: #815486;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b56",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 292,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30788,
    "c": 0.1319,
    "h": 321.8
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#4C0B56
secondary
#39912B
accent
#F4344E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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