#4C0E50#4C0E50

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

Color values

HEX#4C0E50
RGBrgb(76, 14, 80)
HSLhsl(296, 70%, 18%)
HSVhsv(296, 83%, 31%)
CMYKcmyk(5%, 82.5%, 0%, 68.6%)
CIE-LABlab(17.60, 37.19, -25.19)
CIE-LCHlch(17.60, 44.92, 325.89°)
OKLaboklab(30.59% 0.1015 -0.0701)
OKLCHoklch(30.59% 0.123 325.4)
XYZxyz(4.5854, 2.4301, 7.8154)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E50 #12500E
analogous
#2B0E50 #4C0E50 #500E33
triadic
#4C0E50 #504C0E #0E504C
tetradic
#4C0E50 #502B0E #12500E #0E3350
square
#4C0E50 #502B0E #12500E #0E3350
split-complementary
#4C0E50 #33500E #0E502B
monochromatic
#19051A #1B051C #4C0E50 #7D1784 #AF20B8

Accessibility & contrast

On white

14.13
#4C0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C0E50
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E50#FFFFFF#000000##FFFFFF
##4C0E501.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c0e50;
/* rgb */ color: rgb(76, 14, 80);
/* oklch */ color: oklch(30.6% 0.123 325.4);
Tailwind
colors: {
  custom: {
    50: '#815581',
    500: '#4c0e50',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e50;
$custom-light: #815581;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e50",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 296.364,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30594,
    "c": 0.12338,
    "h": 325.4
  },
  "luminance": 0.0243
}

Semantic roles & 50–950 ramp

primary
#4C0E50
secondary
#358B2F
accent
#ED3B46
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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