#4C2CC3#4C2CC3

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

Color values

HEX#4C2CC3
RGBrgb(76, 44, 195)
HSLhsl(253, 63%, 47%)
HSVhsv(253, 77%, 76%)
CMYKcmyk(61%, 77.4%, 0%, 23.5%)
CIE-LABlab(32.43, 53.59, -73.13)
CIE-LCHlch(32.43, 90.67, 306.23°)
OKLaboklab(44.15% 0.0476 -0.2109)
OKLCHoklch(44.15% 0.216 282.7)
XYZxyz(13.7284, 7.2770, 52.3004)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CC3 #A3C32C
analogous
#2C58C3 #4C2CC3 #982CC3
triadic
#4C2CC3 #C34C2C #2CC34C
tetradic
#4C2CC3 #C32C58 #A3C32C #2CC398
square
#4C2CC3 #C32C58 #A3C32C #2CC398
split-complementary
#4C2CC3 #C3982C #58C32C
monochromatic
#25155F #392191 #4C2CC3 #7054D8 #9A86E4

Accessibility & contrast

On white

8.55
#4C2CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4C2CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CC3
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CC3#FFFFFF#000000##FFFFFF
##4C2CC31.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c2cc3;
/* rgb */ color: rgb(76, 44, 195);
/* oklch */ color: oklch(44.1% 0.216 282.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ad6',
    500: '#4c2cc3',
    950: '#000000',
  },
}
SCSS
$custom: #4c2cc3;
$custom-light: #8d6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2cc3",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 252.715,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44146,
    "c": 0.2162,
    "h": 282.7
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#4C2CC3
secondary
#BCCD7E
accent
#E642C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C2CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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