#4C0E59#4C0E59

#4C0E59 is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.3% C 0.132 H 319.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#4C0E59
RGBrgb(76, 14, 89)
HSLhsl(290, 73%, 20%)
HSVhsv(290, 84%, 35%)
CMYKcmyk(14.6%, 84.3%, 0%, 65.1%)
CIE-LABlab(18.24, 39.01, -30.24)
CIE-LCHlch(18.24, 49.36, 322.21°)
OKLaboklab(31.25% 0.1006 -0.0849)
OKLCHoklch(31.25% 0.132 319.8)
XYZxyz(4.9405, 2.5721, 9.6855)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E59 #1B590E
analogous
#260E59 #4C0E59 #590E40
triadic
#4C0E59 #594C0E #0E594C
tetradic
#4C0E59 #59260E #1B590E #0E4059
square
#4C0E59 #59260E #1B590E #0E4059
split-complementary
#4C0E59 #40590E #0E5926
monochromatic
#17041A #1F0624 #4C0E59 #79168E #A61FC3

Accessibility & contrast

On white

13.87
#4C0E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0E59
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E59#FFFFFF#000000##FFFFFF
##4C0E591.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285B
Deuteranopia (green-blind)
#152F57
Tritanopia (blue-blind)
#4C1E34
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #4c0e59;
/* rgb */ color: rgb(76, 14, 89);
/* oklch */ color: oklch(31.3% 0.132 319.8);
Tailwind
colors: {
  custom: {
    50: '#815588',
    500: '#4c0e59',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e59;
$custom-light: #815588;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e59",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 89
  },
  "hsl": {
    "h": 289.6,
    "s": 72.816,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31254,
    "c": 0.13163,
    "h": 319.8
  },
  "luminance": 0.02572
}

Semantic roles & 50–950 ramp

primary
#4C0E59
secondary
#419330
accent
#F03858
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0E59

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

Preview Lab → · Contrast checker → · Palette generator →

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