#4C1062#4C1062

#4C1062 is a dark, vivid purple. Relative luminance 0.028; OKLCH L 32.1% C 0.138 H 314.7°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#4C1062
RGBrgb(76, 16, 98)
HSLhsl(284, 72%, 22%)
HSVhsv(284, 84%, 38%)
CMYKcmyk(22.4%, 83.7%, 0%, 61.6%)
CIE-LABlab(19.18, 40.23, -34.72)
CIE-LCHlch(19.18, 53.14, 319.20°)
OKLaboklab(32.13% 0.0972 -0.0981)
OKLCHoklch(32.13% 0.138 314.7)
XYZxyz(5.3700, 2.7891, 11.8084)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1062 #266210
analogous
#231062 #4C1062 #62104F
triadic
#4C1062 #624C10 #10624C
tetradic
#4C1062 #622310 #266210 #104F62
square
#4C1062 #622310 #266210 #104F62
split-complementary
#4C1062 #4F6210 #106223
monochromatic
#14041A #23072D #4C1062 #751997 #9E21CB

Accessibility & contrast

On white

13.48
#4C1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#4C1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1062
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1062#FFFFFF#000000##FFFFFF
##4C10621.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#0A3060
Tritanopia (blue-blind)
#4A2339
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4c1062;
/* rgb */ color: rgb(76, 16, 98);
/* oklch */ color: oklch(32.1% 0.138 314.7);
Tailwind
colors: {
  custom: {
    50: '#81578f',
    500: '#4c1062',
    950: '#000000',
  },
}
SCSS
$custom: #4c1062;
$custom-light: #81578f;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1062",
  "rgb": {
    "r": 76,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 283.902,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32134,
    "c": 0.13809,
    "h": 314.7
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#4C1062
secondary
#4F9B33
accent
#EF396A
background
#F8F5F8
surface
#EFE9F0
border
#CAC5CB
text
#0B030C
muted
#7C787D

Preview Lab

Preview with #4C1062

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

Preview Lab → · Contrast checker → · Palette generator →

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