#4C104D#4C104D

#4C104D is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.6% C 0.118 H 327.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#4C104D
RGBrgb(76, 16, 77)
HSLhsl(299, 66%, 18%)
HSVhsv(299, 79%, 30%)
CMYKcmyk(1.3%, 79.2%, 0%, 69.8%)
CIE-LABlab(17.66, 35.87, -23.04)
CIE-LCHlch(17.66, 42.63, 327.28°)
OKLaboklab(30.57% 0.0995 -0.0639)
OKLCHoklch(30.57% 0.118 327.3)
XYZxyz(4.5053, 2.4432, 7.2540)
Luminance0.0244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C104D #114D10
analogous
#2D104D #4C104D #4D102F
triadic
#4C104D #4D4C10 #104D4C
tetradic
#4C104D #4D2D10 #114D10 #102F4D
square
#4C104D #4D2D10 #114D10 #102F4D
split-complementary
#4C104D #2F4D10 #104D2D
monochromatic
#190519 #1A051A #4C104D #7E1B80 #B025B2

Accessibility & contrast

On white

14.11
#4C104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#4C104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C104D
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C104D#FFFFFF#000000##FFFFFF
##4C104D1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04264F
Deuteranopia (green-blind)
#202E4B
Tritanopia (blue-blind)
#4E1A2D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c104d;
/* rgb */ color: rgb(76, 16, 77);
/* oklch */ color: oklch(30.6% 0.118 327.3);
Tailwind
colors: {
  custom: {
    50: '#81557f',
    500: '#4c104d',
    950: '#000000',
  },
}
SCSS
$custom: #4c104d;
$custom-light: #81557f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c104d",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 299.016,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30573,
    "c": 0.11827,
    "h": 327.3
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#4C104D
secondary
#338732
accent
#E93F42
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C104D

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

Preview Lab → · Contrast checker → · Palette generator →

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