#4C2DC3#4C2DC3

#4C2DC3 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.3% C 0.215 H 282.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4C2DC3
RGBrgb(76, 45, 195)
HSLhsl(252, 63%, 47%)
HSVhsv(252, 77%, 76%)
CMYKcmyk(61%, 76.9%, 0%, 23.5%)
CIE-LABlab(32.60, 53.11, -72.86)
CIE-LCHlch(32.60, 90.16, 306.09°)
OKLaboklab(44.26% 0.047 -0.2101)
OKLCHoklch(44.26% 0.215 282.6)
XYZxyz(13.7661, 7.3524, 52.3129)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2DC3 #A4C32D
analogous
#2D59C3 #4C2DC3 #972DC3
triadic
#4C2DC3 #C34C2D #2DC34C
tetradic
#4C2DC3 #C32D59 #A4C32D #2DC397
square
#4C2DC3 #C32D59 #A4C32D #2DC397
split-complementary
#4C2DC3 #C3972D #59C32D
monochromatic
#251660 #392291 #4C2DC3 #7055D8 #9A87E3

Accessibility & contrast

On white

8.50
#4C2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4C2DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2DC3
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2DC3#FFFFFF#000000##FFFFFF
##4C2DC31.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4c2dc3;
/* rgb */ color: rgb(76, 45, 195);
/* oklch */ color: oklch(44.3% 0.215 282.6);
Tailwind
colors: {
  custom: {
    50: '#8c6ad6',
    500: '#4c2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #4c2dc3;
$custom-light: #8c6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2dc3",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 252.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44263,
    "c": 0.2153,
    "h": 282.6
  },
  "luminance": 0.07353
}

Semantic roles & 50–950 ramp

primary
#4C2DC3
secondary
#BDCD7F
accent
#E642C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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