#4C0A46#4C0A46

#4C0A46 is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.6% C 0.119 H 332.3°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).

Color values

HEX#4C0A46
RGBrgb(76, 10, 70)
HSLhsl(305, 77%, 17%)
HSVhsv(305, 87%, 30%)
CMYKcmyk(0%, 86.8%, 7.9%, 70.2%)
CIE-LABlab(16.48, 36.67, -20.08)
CIE-LCHlch(16.48, 41.81, 331.29°)
OKLaboklab(29.59% 0.1055 -0.0553)
OKLCHoklch(29.59% 0.119 332.3)
XYZxyz(4.1945, 2.1961, 5.9961)
Luminance0.0220 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C0A46 #0A4C10
analogous
#310A4C #4C0A46 #4C0A25
triadic
#4C0A46 #464C0A #0A464C
tetradic
#4C0A46 #4C310A #0A4C10 #0A254C
square
#4C0A46 #4C310A #0A4C10 #0A254C
split-complementary
#4C0A46 #254C0A #0A4C31
monochromatic
#1B0419 #1B0419 #4C0A46 #821178 #B818AA

Accessibility & contrast

On white

14.59
#4C0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4C0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C0A46
14.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C0A46#FFFFFF#000000##FFFFFF
##4C0A461.0014.591.4414.59
#FFFFFF14.591.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052348
Deuteranopia (green-blind)
#212C44
Tritanopia (blue-blind)
#501228
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4c0a46;
/* rgb */ color: rgb(76, 10, 70);
/* oklch */ color: oklch(29.6% 0.119 332.3);
Tailwind
colors: {
  custom: {
    50: '#815379',
    500: '#4c0a46',
    950: '#000000',
  },
}
SCSS
$custom: #4c0a46;
$custom-light: #815379;
$custom-dark: #000000;
JSON
{
  "hex": "#4c0a46",
  "rgb": {
    "r": 76,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 305.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.29589,
    "c": 0.11909,
    "h": 332.3
  },
  "luminance": 0.02196
}

Semantic roles & 50–950 ramp

primary
#4C0A46
secondary
#298932
accent
#F34635
background
#F8F5F7
surface
#EFE8ED
border
#CAC4C8
text
#0B0309
muted
#7C787B

Preview Lab

Preview with #4C0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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