#4C1066#4C1066

#4C1066 is a dark, vivid purple. Relative luminance 0.029; OKLCH L 32.5% C 0.142 H 312.7°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#4C1066
RGBrgb(76, 16, 102)
HSLhsl(282, 73%, 23%)
HSVhsv(282, 84%, 40%)
CMYKcmyk(25.5%, 84.3%, 0%, 60%)
CIE-LABlab(19.50, 41.11, -36.84)
CIE-LCHlch(19.50, 55.20, 318.14°)
OKLaboklab(32.46% 0.0963 -0.1043)
OKLCHoklch(32.46% 0.142 312.7)
XYZxyz(5.5636, 2.8666, 12.8280)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1066 #2A6610
analogous
#211066 #4C1066 #661055
triadic
#4C1066 #664C10 #10664C
tetradic
#4C1066 #662110 #2A6610 #105566
square
#4C1066 #662110 #2A6610 #105566
split-complementary
#4C1066 #556610 #106621
monochromatic
#14041A #250831 #4C1066 #73189B #9B21D0

Accessibility & contrast

On white

13.35
#4C1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4C1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1066
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1066#FFFFFF#000000##FFFFFF
##4C10661.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#023064
Tritanopia (blue-blind)
#49253B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1066;
/* rgb */ color: rgb(76, 16, 102);
/* oklch */ color: oklch(32.5% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#825792',
    500: '#4c1066',
    950: '#000000',
  },
}
SCSS
$custom: #4c1066;
$custom-light: #825792;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1066",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 281.86,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32462,
    "c": 0.14197,
    "h": 312.7
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#4C1066
secondary
#549E33
accent
#F03870
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B030D
muted
#7C787E

Preview Lab

Preview with #4C1066

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

Preview Lab → · Contrast checker → · Palette generator →

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