#4C104C#4C104C

#4C104C is a dark, moderate purple. Relative luminance 0.024; OKLCH L 30.5% C 0.117 H 328.0°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#4C104C
RGBrgb(76, 16, 76)
HSLhsl(300, 65%, 18%)
HSVhsv(300, 79%, 30%)
CMYKcmyk(0%, 78.9%, 0%, 70.2%)
CIE-LABlab(17.60, 35.67, -22.46)
CIE-LCHlch(17.60, 42.16, 327.80°)
OKLaboklab(30.51% 0.0995 -0.0622)
OKLCHoklch(30.51% 0.117 328)
XYZxyz(4.4702, 2.4292, 7.0695)
Luminance0.0243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C104C #104C10
analogous
#2E104C #4C104C #4C102E
triadic
#4C104C #4C4C10 #104C4C
tetradic
#4C104C #4C2E10 #104C10 #102E4C
square
#4C104C #4C2E10 #104C10 #102E4C
split-complementary
#4C104C #2E4C10 #104C2E
monochromatic
#190519 #190519 #4C104C #7F1B7F #B125B1

Accessibility & contrast

On white

14.13
#4C104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C104C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C104C#FFFFFF#000000##FFFFFF
##4C104C1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05264E
Deuteranopia (green-blind)
#202E4A
Tritanopia (blue-blind)
#4F192D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #4c104c;
/* rgb */ color: rgb(76, 16, 76);
/* oklch */ color: oklch(30.5% 0.117 328.0);
Tailwind
colors: {
  custom: {
    50: '#81557e',
    500: '#4c104c',
    950: '#000000',
  },
}
SCSS
$custom: #4c104c;
$custom-light: #81557e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c104c",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 300,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30506,
    "c": 0.11737,
    "h": 328
  },
  "luminance": 0.02429
}

Semantic roles & 50–950 ramp

primary
#4C104C
secondary
#328632
accent
#E84040
background
#F8F5F7
surface
#EFE9EE
border
#CAC5C9
text
#0B030A
muted
#7C787C

Preview Lab

Preview with #4C104C

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

Preview Lab → · Contrast checker → · Palette generator →

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