#4C0D4B#4C0D4B

#4C0D4B is a dark, vivid purple. Relative luminance 0.023; OKLCH L 30.2% C 0.120 H 328.8°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#4C0D4B
RGBrgb(76, 13, 75)
HSLhsl(301, 71%, 17%)
HSVhsv(301, 83%, 30%)
CMYKcmyk(0%, 82.9%, 1.3%, 70.2%)
CIE-LABlab(17.14, 36.59, -22.49)
CIE-LCHlch(17.14, 42.95, 328.42°)
OKLaboklab(30.16% 0.1027 -0.0623)
OKLCHoklch(30.16% 0.12 328.8)
XYZxyz(4.3944, 2.3327, 6.8740)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D4B #0D4C0E
analogous
#2D0D4C #4C0D4B #4C0D2C
triadic
#4C0D4B #4B4C0D #0D4B4C
tetradic
#4C0D4B #4C2D0D #0D4C0E #0D2C4C
square
#4C0D4B #4C2D0D #0D4C0E #0D2C4C
split-complementary
#4C0D4B #2C4C0D #0D4C2D
monochromatic
#1A041A #1A041A #4C0D4B #80167F #B51FB2

Accessibility & contrast

On white

14.32
#4C0D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C0D4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D4B
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D4B#FFFFFF#000000##FFFFFF
##4C0D4B1.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03254D
Deuteranopia (green-blind)
#1F2D49
Tritanopia (blue-blind)
#4F172B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0d4b;
/* rgb */ color: rgb(76, 13, 75);
/* oklch */ color: oklch(30.2% 0.120 328.8);
Tailwind
colors: {
  custom: {
    50: '#81547d',
    500: '#4c0d4b',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d4b;
$custom-light: #81547d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d4b",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 75
  },
  "hsl": {
    "h": 300.952,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.30162,
    "c": 0.12007,
    "h": 328.8
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#4C0D4B
secondary
#2E872F
accent
#EE3D3A
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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