#4C2BCA#4C2BCA

#4C2BCA is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.225 H 281.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#4C2BCA
RGBrgb(76, 43, 202)
HSLhsl(252, 65%, 48%)
HSVhsv(252, 79%, 79%)
CMYKcmyk(62.4%, 78.7%, 0%, 20.8%)
CIE-LABlab(32.98, 56.06, -76.32)
CIE-LCHlch(32.98, 94.70, 306.30°)
OKLaboklab(44.74% 0.0462 -0.2202)
OKLCHoklch(44.74% 0.225 281.8)
XYZxyz(14.5017, 7.5275, 56.5544)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2BCA #A9CA2B
analogous
#2B59CA #4C2BCA #9B2BCA
triadic
#4C2BCA #CA4C2B #2BCA4C
tetradic
#4C2BCA #CA2B59 #A9CA2B #2BCA9B
square
#4C2BCA #CA2B59 #A9CA2B #2BCA9B
split-complementary
#4C2BCA #CA9B2B #59CA2B
monochromatic
#261665 #392098 #4C2BCA #7257DB #9D89E6

Accessibility & contrast

On white

8.38
#4C2BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4C2BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2BCA
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2BCA#FFFFFF#000000##FFFFFF
##4C2BCA1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005B7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c2bca;
/* rgb */ color: rgb(76, 43, 202);
/* oklch */ color: oklch(44.7% 0.225 281.8);
Tailwind
colors: {
  custom: {
    50: '#8e6adc',
    500: '#4c2bca',
    950: '#000000',
  },
}
SCSS
$custom: #4c2bca;
$custom-light: #8e6adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2bca",
  "rgb": {
    "r": 76,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 252.453,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44741,
    "c": 0.22498,
    "h": 281.8
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#4C2BCA
secondary
#BFD081
accent
#E840C5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C2BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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