#4C0E54#4C0E54

#4C0E54 is a dark, vivid purple. Relative luminance 0.025; OKLCH L 30.9% C 0.127 H 322.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#4C0E54
RGBrgb(76, 14, 84)
HSLhsl(293, 71%, 19%)
HSVhsv(293, 83%, 33%)
CMYKcmyk(9.5%, 83.3%, 0%, 67.1%)
CIE-LABlab(17.88, 37.99, -27.46)
CIE-LCHlch(17.88, 46.87, 324.14°)
OKLaboklab(30.88% 0.1012 -0.0768)
OKLCHoklch(30.88% 0.127 322.8)
XYZxyz(4.7376, 2.4910, 8.6170)
Luminance0.0249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E54 #16540E
analogous
#290E54 #4C0E54 #540E39
triadic
#4C0E54 #544C0E #0E544C
tetradic
#4C0E54 #54290E #16540E #0E3954
square
#4C0E54 #54290E #16540E #0E3954
split-complementary
#4C0E54 #39540E #0E5429
monochromatic
#18041A #1D0520 #4C0E54 #7B1788 #AB1FBD

Accessibility & contrast

On white

14.02
#4C0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#4C0E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E54
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E54#FFFFFF#000000##FFFFFF
##4C0E541.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002756
Deuteranopia (green-blind)
#1A2E52
Tritanopia (blue-blind)
#4D1C31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4c0e54;
/* rgb */ color: rgb(76, 14, 84);
/* oklch */ color: oklch(30.9% 0.127 322.8);
Tailwind
colors: {
  custom: {
    50: '#815584',
    500: '#4c0e54',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e54;
$custom-light: #815584;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e54",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 293.143,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30881,
    "c": 0.12702,
    "h": 322.8
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#4C0E54
secondary
#3A8E2F
accent
#EE3A4E
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0B030B
muted
#7C787C

Preview Lab

Preview with #4C0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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