#4C0E4E#4C0E4E

#4C0E4E is a dark, vivid purple. Relative luminance 0.024; OKLCH L 30.5% C 0.122 H 326.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#4C0E4E
RGBrgb(76, 14, 78)
HSLhsl(298, 70%, 18%)
HSVhsv(298, 82%, 31%)
CMYKcmyk(2.6%, 82.1%, 0%, 69.4%)
CIE-LABlab(17.46, 36.81, -24.04)
CIE-LCHlch(17.46, 43.96, 326.85°)
OKLaboklab(30.45% 0.1016 -0.0668)
OKLCHoklch(30.45% 0.122 326.7)
XYZxyz(4.5126, 2.4009, 7.4320)
Luminance0.0240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E4E #104E0E
analogous
#2C0E4E #4C0E4E #4E0E30
triadic
#4C0E4E #4E4C0E #0E4E4C
tetradic
#4C0E4E #4E2C0E #104E0E #0E304E
square
#4C0E4E #4E2C0E #104E0E #0E304E
split-complementary
#4C0E4E #304E0E #0E4E2C
monochromatic
#19051A #19051A #4C0E4E #7F1782 #B121B6

Accessibility & contrast

On white

14.19
#4C0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#4C0E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E4E
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E4E#FFFFFF#000000##FFFFFF
##4C0E4E1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002650
Deuteranopia (green-blind)
#1E2E4C
Tritanopia (blue-blind)
#4E192D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c0e4e;
/* rgb */ color: rgb(76, 14, 78);
/* oklch */ color: oklch(30.5% 0.122 326.7);
Tailwind
colors: {
  custom: {
    50: '#815580',
    500: '#4c0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e4e;
$custom-light: #815580;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e4e",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 298.125,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.12158,
    "h": 326.7
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#4C0E4E
secondary
#32892F
accent
#EC3B41
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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