#4C2AC2#4C2AC2

#4C2AC2 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.217 H 283.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4C2AC2
RGBrgb(76, 42, 194)
HSLhsl(253, 64%, 46%)
HSVhsv(253, 78%, 76%)
CMYKcmyk(60.8%, 78.4%, 0%, 23.9%)
CIE-LABlab(32.00, 54.24, -73.25)
CIE-LCHlch(32.00, 91.15, 306.52°)
OKLaboklab(43.82% 0.0491 -0.2112)
OKLCHoklch(43.82% 0.217 283.1)
XYZxyz(13.5430, 7.0865, 51.6827)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2AC2 #A0C22A
analogous
#2A54C2 #4C2AC2 #982AC2
triadic
#4C2AC2 #C24C2A #2AC24C
tetradic
#4C2AC2 #C22A54 #A0C22A #2AC298
square
#4C2AC2 #C22A54 #A0C22A #2AC298
split-complementary
#4C2AC2 #C2982A #54C22A
monochromatic
#25145D #381F90 #4C2AC2 #6F50D9 #9882E4

Accessibility & contrast

On white

8.69
#4C2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4C2AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2AC2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2AC2#FFFFFF#000000##FFFFFF
##4C2AC21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2ac2;
/* rgb */ color: rgb(76, 42, 194);
/* oklch */ color: oklch(43.8% 0.217 283.1);
Tailwind
colors: {
  custom: {
    50: '#8d69d6',
    500: '#4c2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ac2;
$custom-light: #8d69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ac2",
  "rgb": {
    "r": 76,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 253.421,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43819,
    "c": 0.21684,
    "h": 283.1
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#4C2AC2
secondary
#BBCD7B
accent
#E740C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4C2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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