#4C2DC0#4C2DC0

#4C2DC0 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.212 H 283.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4C2DC0
RGBrgb(76, 45, 192)
HSLhsl(253, 62%, 46%)
HSVhsv(253, 77%, 75%)
CMYKcmyk(60.4%, 76.6%, 0%, 24.7%)
CIE-LABlab(32.30, 52.24, -71.59)
CIE-LCHlch(32.30, 88.62, 306.12°)
OKLaboklab(43.97% 0.0478 -0.2064)
OKLCHoklch(43.97% 0.212 283)
XYZxyz(13.4304, 7.2181, 50.5445)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2DC0 #A1C02D
analogous
#2D58C0 #4C2DC0 #962DC0
triadic
#4C2DC0 #C04C2D #2DC04C
tetradic
#4C2DC0 #C02D58 #A1C02D #2DC096
square
#4C2DC0 #C02D58 #A1C02D #2DC096
split-complementary
#4C2DC0 #C0962D #58C02D
monochromatic
#25165D #38218E #4C2DC0 #6F53D7 #9985E2

Accessibility & contrast

On white

8.59
#4C2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4C2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2DC0
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2DC0#FFFFFF#000000##FFFFFF
##4C2DC01.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c2dc0;
/* rgb */ color: rgb(76, 45, 192);
/* oklch */ color: oklch(44.0% 0.212 283.0);
Tailwind
colors: {
  custom: {
    50: '#8c6ad4',
    500: '#4c2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #4c2dc0;
$custom-light: #8c6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2dc0",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 252.653,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43965,
    "c": 0.21185,
    "h": 283
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

primary
#4C2DC0
secondary
#BBCC7D
accent
#E543C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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