#4C0B44#4C0B44

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

Color values

HEX#4C0B44
RGBrgb(76, 11, 68)
HSLhsl(307, 75%, 17%)
HSVhsv(307, 86%, 30%)
CMYKcmyk(0%, 85.5%, 10.5%, 70.2%)
CIE-LABlab(16.47, 36.01, -18.71)
CIE-LCHlch(16.47, 40.58, 332.54°)
OKLaboklab(29.54% 0.1045 -0.0513)
OKLCHoklch(29.54% 0.116 333.8)
XYZxyz(4.1436, 2.1936, 5.6729)
Luminance0.0219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0B44 #0B4C13
analogous
#340B4C #4C0B44 #4C0B23
triadic
#4C0B44 #444C0B #0B444C
tetradic
#4C0B44 #4C340B #0B4C13 #0B234C
square
#4C0B44 #4C340B #0B4C13 #0B234C
split-complementary
#4C0B44 #234C0B #0B4C34
monochromatic
#1B0418 #1B0418 #4C0B44 #811374 #B71AA4

Accessibility & contrast

On white

14.60
#4C0B44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0B44
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0B44#FFFFFF#000000##FFFFFF
##4C0B441.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0b44;
/* rgb */ color: rgb(76, 11, 68);
/* oklch */ color: oklch(29.5% 0.116 333.8);
Tailwind
colors: {
  custom: {
    50: '#815378',
    500: '#4c0b44',
    950: '#000000',
  },
}
SCSS
$custom: #4c0b44;
$custom-light: #815378;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0b44",
  "rgb": {
    "r": 76,
    "g": 11,
    "b": 68
  },
  "hsl": {
    "h": 307.385,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2954,
    "c": 0.11641,
    "h": 333.8
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#4C0B44
secondary
#2B8836
accent
#F14D36
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0B44

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

Preview Lab → · Contrast checker → · Palette generator →

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