#4C0C55#4C0C55

#4C0C55 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.8% C 0.130 H 322.3°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#4C0C55
RGBrgb(76, 12, 85)
HSLhsl(293, 75%, 19%)
HSVhsv(293, 86%, 33%)
CMYKcmyk(10.6%, 85.9%, 0%, 66.7%)
CIE-LABlab(17.72, 38.86, -28.39)
CIE-LCHlch(17.72, 48.13, 323.85°)
OKLaboklab(30.79% 0.1029 -0.0795)
OKLCHoklch(30.79% 0.13 322.3)
XYZxyz(4.7515, 2.4556, 8.8163)
Luminance0.0245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C55 #15550C
analogous
#280C55 #4C0C55 #550C3A
triadic
#4C0C55 #554C0C #0C554C
tetradic
#4C0C55 #55280C #15550C #0C3A55
square
#4C0C55 #55280C #15550C #0C3A55
split-complementary
#4C0C55 #3A550C #0C5528
monochromatic
#18041B #1C041F #4C0C55 #7C148B #AC1BC0

Accessibility & contrast

On white

14.08
#4C0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0C55
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C55#FFFFFF#000000##FFFFFF
##4C0C551.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#182E53
Tritanopia (blue-blind)
#4D1B31
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0c55;
/* rgb */ color: rgb(76, 12, 85);
/* oklch */ color: oklch(30.8% 0.130 322.3);
Tailwind
colors: {
  custom: {
    50: '#815485',
    500: '#4c0c55',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c55;
$custom-light: #815485;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c55",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 292.603,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3079,
    "c": 0.13002,
    "h": 322.3
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#4C0C55
secondary
#39902D
accent
#F2364D
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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