#4C0B45#4C0B45

#4C0B45 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.117 H 333.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#4C0B45
RGBrgb(76, 11, 69)
HSLhsl(306, 75%, 17%)
HSVhsv(306, 86%, 30%)
CMYKcmyk(0%, 85.5%, 9.2%, 70.2%)
CIE-LABlab(16.53, 36.18, -19.31)
CIE-LCHlch(16.53, 41.01, 331.91°)
OKLaboklab(29.6% 0.1045 -0.0531)
OKLCHoklch(29.6% 0.117 333.1)
XYZxyz(4.1744, 2.2059, 5.8350)
Luminance0.0221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B45 #0B4C12
analogous
#330B4C #4C0B45 #4C0B24
triadic
#4C0B45 #454C0B #0B454C
tetradic
#4C0B45 #4C330B #0B4C12 #0B244C
square
#4C0B45 #4C330B #0B4C12 #0B244C
split-complementary
#4C0B45 #244C0B #0B4C33
monochromatic
#1B0418 #1B0418 #4C0B45 #811376 #B71AA6

Accessibility & contrast

On white

14.57
#4C0B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B45
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B45#FFFFFF#000000##FFFFFF
##4C0B451.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082347
Deuteranopia (green-blind)
#222C43
Tritanopia (blue-blind)
#501227
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0b45;
/* rgb */ color: rgb(76, 11, 69);
/* oklch */ color: oklch(29.6% 0.117 333.1);
Tailwind
colors: {
  custom: {
    50: '#815379',
    500: '#4c0b45',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b45;
$custom-light: #815379;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b45",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 306.462,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.29603,
    "c": 0.11722,
    "h": 333.1
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#4C0B45
secondary
#2B8835
accent
#F14B36
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B45

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

Preview Lab → · Contrast checker → · Palette generator →

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