#4C0E4B#4C0E4B

#4C0E4B is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.3% C 0.119 H 328.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#4C0E4B
RGBrgb(76, 14, 75)
HSLhsl(301, 69%, 18%)
HSVhsv(301, 82%, 30%)
CMYKcmyk(0%, 81.6%, 1.3%, 70.2%)
CIE-LABlab(17.27, 36.24, -22.29)
CIE-LCHlch(17.27, 42.55, 328.40°)
OKLaboklab(30.25% 0.1017 -0.0617)
OKLCHoklch(30.25% 0.119 328.7)
XYZxyz(4.4075, 2.3589, 6.8784)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0E4B #0E4C0F
analogous
#2E0E4C #4C0E4B #4C0E2C
triadic
#4C0E4B #4B4C0E #0E4B4C
tetradic
#4C0E4B #4C2E0E #0E4C0F #0E2C4C
square
#4C0E4B #4C2E0E #0E4C0F #0E2C4C
split-complementary
#4C0E4B #2C4C0E #0E4C2E
monochromatic
#1A0519 #1A0519 #4C0E4B #80187E #B321B1

Accessibility & contrast

On white

14.27
#4C0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#4C0E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0E4B
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0E4B#FFFFFF#000000##FFFFFF
##4C0E4B1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04254D
Deuteranopia (green-blind)
#202D49
Tritanopia (blue-blind)
#4F172C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #4c0e4b;
/* rgb */ color: rgb(76, 14, 75);
/* oklch */ color: oklch(30.3% 0.119 328.7);
Tailwind
colors: {
  custom: {
    50: '#81557d',
    500: '#4c0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #4c0e4b;
$custom-light: #81557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0e4b",
  "rgb": {
    "r": 76,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 300.968,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.30251,
    "c": 0.11892,
    "h": 328.7
  },
  "luminance": 0.02359
}

Semantic roles & 50–950 ramp

primary
#4C0E4B
secondary
#2F8730
accent
#EC3F3C
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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