#4C104B#4C104B

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

Color values

HEX#4C104B
RGBrgb(76, 16, 75)
HSLhsl(301, 65%, 18%)
HSVhsv(301, 79%, 30%)
CMYKcmyk(0%, 78.9%, 1.3%, 70.2%)
CIE-LABlab(17.53, 35.48, -21.88)
CIE-LCHlch(17.53, 41.69, 328.34°)
OKLaboklab(30.44% 0.0995 -0.0605)
OKLCHoklch(30.44% 0.116 328.7)
XYZxyz(4.4357, 2.4154, 6.8878)
Luminance0.0242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C104B #104C11
analogous
#2F104C #4C104B #4C102D
triadic
#4C104B #4B4C10 #104B4C
tetradic
#4C104B #4C2F10 #104C11 #102D4C
square
#4C104B #4C2F10 #104C11 #102D4C
split-complementary
#4C104B #2D4C10 #104C2F
monochromatic
#190519 #190519 #4C104B #7F1B7D #B125AF

Accessibility & contrast

On white

14.16
#4C104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C104B
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C104B#FFFFFF#000000##FFFFFF
##4C104B1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07264D
Deuteranopia (green-blind)
#212E49
Tritanopia (blue-blind)
#4F192C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c104b;
/* rgb */ color: rgb(76, 16, 75);
/* oklch */ color: oklch(30.4% 0.116 328.7);
Tailwind
colors: {
  custom: {
    50: '#81557d',
    500: '#4c104b',
    950: '#000000',
  },
}
SCSS
$custom: #4c104b;
$custom-light: #81557d;
$custom-dark: #000000;
JSON
{
  "hex": "#4c104b",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 301,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30439,
    "c": 0.11647,
    "h": 328.7
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#4C104B
secondary
#328633
accent
#E84240
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C104B

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

Preview Lab → · Contrast checker → · Palette generator →

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