#4C0E51#4C0E51

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

Color values

HEX#4C0E51
RGBrgb(76, 14, 81)
HSLhsl(296, 71%, 19%)
HSVhsv(296, 83%, 32%)
CMYKcmyk(6.2%, 82.7%, 0%, 68.2%)
CIE-LABlab(17.67, 37.39, -25.76)
CIE-LCHlch(17.67, 45.40, 325.44°)
OKLaboklab(30.66% 0.1014 -0.0718)
OKLCHoklch(30.66% 0.124 324.7)
XYZxyz(4.6226, 2.4450, 8.0114)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E51 #13510E
analogous
#2A0E51 #4C0E51 #510E34
triadic
#4C0E51 #514C0E #0E514C
tetradic
#4C0E51 #512A0E #13510E #0E3451
square
#4C0E51 #512A0E #13510E #0E3451
split-complementary
#4C0E51 #34510E #0E512A
monochromatic
#18051A #1B051D #4C0E51 #7D1785 #AE20B9

Accessibility & contrast

On white

14.10
#4C0E51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C0E51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E51
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E51#FFFFFF#000000##FFFFFF
##4C0E511.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002753
Deuteranopia (green-blind)
#1C2E4F
Tritanopia (blue-blind)
#4E1A2F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0e51;
/* rgb */ color: rgb(76, 14, 81);
/* oklch */ color: oklch(30.7% 0.124 324.7);
Tailwind
colors: {
  custom: {
    50: '#815582',
    500: '#4c0e51',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e51;
$custom-light: #815582;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e51",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 81
  },
  "hsl": {
    "h": 295.522,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30664,
    "c": 0.12428,
    "h": 324.7
  },
  "luminance": 0.02445
}

Semantic roles & 50–950 ramp

primary
#4C0E51
secondary
#368C2F
accent
#ED3A48
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0E51

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

Preview Lab → · Contrast checker → · Palette generator →

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