#4C0D50#4C0D50

#4C0D50 is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.124 H 325.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#4C0D50
RGBrgb(76, 13, 80)
HSLhsl(296, 72%, 18%)
HSVhsv(296, 84%, 31%)
CMYKcmyk(5%, 83.7%, 0%, 68.6%)
CIE-LABlab(17.48, 37.54, -25.38)
CIE-LCHlch(17.48, 45.32, 325.94°)
OKLaboklab(30.51% 0.1025 -0.0707)
OKLCHoklch(30.51% 0.124 325.4)
XYZxyz(4.5723, 2.4038, 7.8110)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D50 #11500D
analogous
#2A0D50 #4C0D50 #500D32
triadic
#4C0D50 #504C0D #0D504C
tetradic
#4C0D50 #502A0D #11500D #0D3250
square
#4C0D50 #502A0D #11500D #0D3250
split-complementary
#4C0D50 #32500D #0D502A
monochromatic
#19041A #1A041B #4C0D50 #7E1685 #B01EB9

Accessibility & contrast

On white

14.18
#4C0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C0D50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D50
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D50#FFFFFF#000000##FFFFFF
##4C0D501.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#1C2D4E
Tritanopia (blue-blind)
#4E192E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0d50;
/* rgb */ color: rgb(76, 13, 80);
/* oklch */ color: oklch(30.5% 0.124 325.4);
Tailwind
colors: {
  custom: {
    50: '#815481',
    500: '#4c0d50',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d50;
$custom-light: #815481;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d50",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 296.418,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30507,
    "c": 0.12449,
    "h": 325.4
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#4C0D50
secondary
#338B2E
accent
#EF3944
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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