#4C2AC3#4C2AC3

#4C2AC3 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.9% C 0.218 H 282.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4C2AC3
RGBrgb(76, 42, 195)
HSLhsl(253, 65%, 46%)
HSVhsv(253, 78%, 76%)
CMYKcmyk(61%, 78.5%, 0%, 23.5%)
CIE-LABlab(32.10, 54.53, -73.67)
CIE-LCHlch(32.10, 91.65, 306.51°)
OKLaboklab(43.92% 0.0488 -0.2124)
OKLCHoklch(43.92% 0.218 282.9)
XYZxyz(13.6557, 7.1316, 52.2761)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2AC3 #A1C32A
analogous
#2A55C3 #4C2AC3 #992AC3
triadic
#4C2AC3 #C34C2A #2AC34C
tetradic
#4C2AC3 #C32A55 #A1C32A #2AC399
square
#4C2AC3 #C32A55 #A1C32A #2AC399
split-complementary
#4C2AC3 #C3992A #55C32A
monochromatic
#25145E #381F91 #4C2AC3 #6F51D9 #9983E4

Accessibility & contrast

On white

8.65
#4C2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4C2AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2AC3
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2AC3#FFFFFF#000000##FFFFFF
##4C2AC31.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0046C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c2ac3;
/* rgb */ color: rgb(76, 42, 195);
/* oklch */ color: oklch(43.9% 0.218 282.9);
Tailwind
colors: {
  custom: {
    50: '#8d69d6',
    500: '#4c2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ac3;
$custom-light: #8d69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ac3",
  "rgb": {
    "r": 76,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 253.333,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.21797,
    "h": 282.9
  },
  "luminance": 0.07133
}

Semantic roles & 50–950 ramp

primary
#4C2AC3
secondary
#BBCD7B
accent
#E840C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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