#4C106A#4C106A

#4C106A is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.8% C 0.146 H 310.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#4C106A
RGBrgb(76, 16, 106)
HSLhsl(280, 74%, 24%)
HSVhsv(280, 85%, 42%)
CMYKcmyk(28.3%, 84.9%, 0%, 58.4%)
CIE-LABlab(19.83, 42.02, -38.92)
CIE-LCHlch(19.83, 57.27, 317.19°)
OKLaboklab(32.8% 0.0954 -0.1104)
OKLCHoklch(32.8% 0.146 310.8)
XYZxyz(5.7668, 2.9478, 13.8981)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C106A #2E6A10
analogous
#1F106A #4C106A #6A105B
triadic
#4C106A #6A4C10 #106A4C
tetradic
#4C106A #6A1F10 #2E6A10 #105B6A
square
#4C106A #6A1F10 #2E6A10 #105B6A
split-complementary
#4C106A #5B6A10 #106A1F
monochromatic
#13041B #260835 #4C106A #72189F #9820D4

Accessibility & contrast

On white

13.21
#4C106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#4C106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C106A
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C106A#FFFFFF#000000##FFFFFF
##4C106A1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#003168
Tritanopia (blue-blind)
#48273E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4c106a;
/* rgb */ color: rgb(76, 16, 106);
/* oklch */ color: oklch(32.8% 0.146 310.8);
Tailwind
colors: {
  custom: {
    50: '#825795',
    500: '#4c106a',
    950: '#000000',
  },
}
SCSS
$custom: #4c106a;
$custom-light: #825795;
$custom-dark: #000000;
JSON
{
  "hex": "#4c106a",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 280,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32799,
    "c": 0.14588,
    "h": 310.8
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#4C106A
secondary
#59A234
accent
#F03775
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C106A

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

Preview Lab → · Contrast checker → · Palette generator →

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