#4C2DC1#4C2DC1

#4C2DC1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.213 H 282.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4C2DC1
RGBrgb(76, 45, 193)
HSLhsl(253, 62%, 47%)
HSVhsv(253, 77%, 76%)
CMYKcmyk(60.6%, 76.7%, 0%, 24.3%)
CIE-LABlab(32.40, 52.53, -72.01)
CIE-LCHlch(32.40, 89.14, 306.11°)
OKLaboklab(44.06% 0.0475 -0.2076)
OKLCHoklch(44.06% 0.213 282.9)
XYZxyz(13.5415, 7.2626, 51.1300)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2DC1 #A2C12D
analogous
#2D58C1 #4C2DC1 #962DC1
triadic
#4C2DC1 #C14C2D #2DC14C
tetradic
#4C2DC1 #C12D58 #A2C12D #2DC196
square
#4C2DC1 #C12D58 #A2C12D #2DC196
split-complementary
#4C2DC1 #C1962D #58C12D
monochromatic
#25165E #38218F #4C2DC1 #7054D7 #9986E3

Accessibility & contrast

On white

8.56
#4C2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4C2DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2DC1
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2DC1#FFFFFF#000000##FFFFFF
##4C2DC11.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4c2dc1;
/* rgb */ color: rgb(76, 45, 193);
/* oklch */ color: oklch(44.1% 0.213 282.9);
Tailwind
colors: {
  custom: {
    50: '#8c6ad5',
    500: '#4c2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #4c2dc1;
$custom-light: #8c6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2dc1",
  "rgb": {
    "r": 76,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 252.568,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.213,
    "h": 282.9
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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