#4C0C46#4C0C46

#4C0C46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.7% C 0.117 H 332.4°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#4C0C46
RGBrgb(76, 12, 70)
HSLhsl(306, 73%, 17%)
HSVhsv(306, 84%, 30%)
CMYKcmyk(0%, 84.2%, 7.9%, 70.2%)
CIE-LABlab(16.71, 36.03, -19.73)
CIE-LCHlch(16.71, 41.07, 331.29°)
OKLaboklab(29.75% 0.1036 -0.0543)
OKLCHoklch(29.75% 0.117 332.4)
XYZxyz(4.2175, 2.2420, 6.0038)
Luminance0.0224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0C46 #0C4C12
analogous
#320C4C #4C0C46 #4C0C26
triadic
#4C0C46 #464C0C #0C464C
tetradic
#4C0C46 #4C320C #0C4C12 #0C264C
square
#4C0C46 #4C320C #0C4C12 #0C264C
split-complementary
#4C0C46 #264C0C #0C4C32
monochromatic
#1A0418 #1A0418 #4C0C46 #811477 #B61DA7

Accessibility & contrast

On white

14.50
#4C0C46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4C0C46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0C46
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0C46#FFFFFF#000000##FFFFFF
##4C0C461.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082448
Deuteranopia (green-blind)
#222C44
Tritanopia (blue-blind)
#501428
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0c46;
/* rgb */ color: rgb(76, 12, 70);
/* oklch */ color: oklch(29.7% 0.117 332.4);
Tailwind
colors: {
  custom: {
    50: '#815479',
    500: '#4c0c46',
    950: '#000000',
  },
}
SCSS
$custom: #4c0c46;
$custom-light: #815479;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0c46",
  "rgb": {
    "r": 76,
    "g": 12,
    "b": 70
  },
  "hsl": {
    "h": 305.625,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.29749,
    "c": 0.11694,
    "h": 332.4
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#4C0C46
secondary
#2C8835
accent
#EF4A38
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0C46

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

Preview Lab → · Contrast checker → · Palette generator →

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