#4C2CC1#4C2CC1

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

Color values

HEX#4C2CC1
RGBrgb(76, 44, 193)
HSLhsl(253, 63%, 46%)
HSVhsv(253, 77%, 76%)
CMYKcmyk(60.6%, 77.2%, 0%, 24.3%)
CIE-LABlab(32.23, 53.02, -72.29)
CIE-LCHlch(32.23, 89.64, 306.26°)
OKLaboklab(43.95% 0.0481 -0.2084)
OKLCHoklch(43.95% 0.214 283)
XYZxyz(13.5038, 7.1872, 51.1174)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CC1 #A1C12C
analogous
#2C57C1 #4C2CC1 #972CC1
triadic
#4C2CC1 #C14C2C #2CC14C
tetradic
#4C2CC1 #C12C57 #A1C12C #2CC197
square
#4C2CC1 #C12C57 #A1C12C #2CC197
split-complementary
#4C2CC1 #C1972C #57C12C
monochromatic
#25155D #38218F #4C2CC1 #6F53D8 #9984E3

Accessibility & contrast

On white

8.62
#4C2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2CC1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CC1#FFFFFF#000000##FFFFFF
##4C2CC11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2cc1;
/* rgb */ color: rgb(76, 44, 193);
/* oklch */ color: oklch(43.9% 0.214 283.0);
Tailwind
colors: {
  custom: {
    50: '#8c6ad5',
    500: '#4c2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #4c2cc1;
$custom-light: #8c6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2cc1",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 252.886,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.21392,
    "h": 283
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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