#4C0D58#4C0D58

#4C0D58 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 31.1% C 0.132 H 320.5°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4C0D58
RGBrgb(76, 13, 88)
HSLhsl(290, 74%, 20%)
HSVhsv(290, 85%, 35%)
CMYKcmyk(13.6%, 85.2%, 0%, 65.5%)
CIE-LABlab(18.05, 39.14, -29.88)
CIE-LCHlch(18.05, 49.24, 322.64°)
OKLaboklab(31.1% 0.1016 -0.0838)
OKLCHoklch(31.1% 0.132 320.5)
XYZxyz(4.8857, 2.5292, 9.4615)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0D58 #19580D
analogous
#270D58 #4C0D58 #580D3F
triadic
#4C0D58 #584C0D #0D584C
tetradic
#4C0D58 #58270D #19580D #0D3F58
square
#4C0D58 #58270D #19580D #0D3F58
split-complementary
#4C0D58 #3F580D #0D5827
monochromatic
#17041B #1E0523 #4C0D58 #7A158D #A81DC3

Accessibility & contrast

On white

13.95
#4C0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4C0D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0D58
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0D58#FFFFFF#000000##FFFFFF
##4C0D581.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285A
Deuteranopia (green-blind)
#162E56
Tritanopia (blue-blind)
#4C1D33
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c0d58;
/* rgb */ color: rgb(76, 13, 88);
/* oklch */ color: oklch(31.1% 0.132 320.5);
Tailwind
colors: {
  custom: {
    50: '#815588',
    500: '#4c0d58',
    950: '#000000',
  },
}
SCSS
$custom: #4c0d58;
$custom-light: #815588;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0d58",
  "rgb": {
    "r": 76,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 290.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.31095,
    "c": 0.13174,
    "h": 320.5
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#4C0D58
secondary
#3E932E
accent
#F13755
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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