#4C1060#4C1060

#4C1060 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.0% C 0.136 H 315.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#4C1060
RGBrgb(76, 16, 96)
HSLhsl(285, 71%, 22%)
HSVhsv(285, 83%, 38%)
CMYKcmyk(20.8%, 83.3%, 0%, 62.4%)
CIE-LABlab(19.02, 39.79, -33.65)
CIE-LCHlch(19.02, 52.11, 319.78°)
OKLaboklab(31.97% 0.0976 -0.0949)
OKLCHoklch(31.97% 0.136 315.8)
XYZxyz(5.2768, 2.7518, 11.3173)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1060 #246010
analogous
#241060 #4C1060 #60104C
triadic
#4C1060 #604C10 #10604C
tetradic
#4C1060 #602410 #246010 #104C60
square
#4C1060 #602410 #246010 #104C60
split-complementary
#4C1060 #4C6010 #106024
monochromatic
#15041A #22072C #4C1060 #761994 #9F21C9

Accessibility & contrast

On white

13.54
#4C1060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#4C1060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1060
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1060#FFFFFF#000000##FFFFFF
##4C10601.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#0E305E
Tritanopia (blue-blind)
#4B2338
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #4c1060;
/* rgb */ color: rgb(76, 16, 96);
/* oklch */ color: oklch(32.0% 0.136 315.8);
Tailwind
colors: {
  custom: {
    50: '#81568e',
    500: '#4c1060',
    950: '#000000',
  },
}
SCSS
$custom: #4c1060;
$custom-light: #81568e;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1060",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 285,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31974,
    "c": 0.13615,
    "h": 315.8
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#4C1060
secondary
#4C9933
accent
#EE3A67
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C1060

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

Preview Lab → · Contrast checker → · Palette generator →

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