#4C2CC8#4C2CC8

#4C2CC8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.222 H 282.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#4C2CC8
RGBrgb(76, 44, 200)
HSLhsl(252, 64%, 48%)
HSVhsv(252, 78%, 78%)
CMYKcmyk(62%, 78%, 0%, 21.6%)
CIE-LABlab(32.93, 55.03, -75.23)
CIE-LCHlch(32.93, 93.20, 306.18°)
OKLaboklab(44.65% 0.0462 -0.217)
OKLCHoklch(44.65% 0.222 282)
XYZxyz(14.3032, 7.5070, 55.3276)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CC8 #A8C82C
analogous
#2C5AC8 #4C2CC8 #9A2CC8
triadic
#4C2CC8 #C84C2C #2CC84C
tetradic
#4C2CC8 #C82C5A #A8C82C #2CC89A
square
#4C2CC8 #C82C5A #A8C82C #2CC89A
split-complementary
#4C2CC8 #C89A2C #5AC82C
monochromatic
#261664 #392196 #4C2CC8 #7257DA #9C89E5

Accessibility & contrast

On white

8.39
#4C2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4C2CC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CC8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CC8#FFFFFF#000000##FFFFFF
##4C2CC81.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005A7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c2cc8;
/* rgb */ color: rgb(76, 44, 200);
/* oklch */ color: oklch(44.6% 0.222 282.0);
Tailwind
colors: {
  custom: {
    50: '#8d6ada',
    500: '#4c2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #4c2cc8;
$custom-light: #8d6ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2cc8",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 252.308,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.22187,
    "h": 282
  },
  "luminance": 0.07508
}

Semantic roles & 50–950 ramp

primary
#4C2CC8
secondary
#BFCF81
accent
#E741C5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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