#4C2CBF#4C2CBF

#4C2CBF is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.7% C 0.212 H 283.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4C2CBF
RGBrgb(76, 44, 191)
HSLhsl(253, 63%, 46%)
HSVhsv(253, 77%, 75%)
CMYKcmyk(60.2%, 77%, 0%, 25.1%)
CIE-LABlab(32.03, 52.44, -71.44)
CIE-LCHlch(32.03, 88.62, 306.28°)
OKLaboklab(43.75% 0.0487 -0.206)
OKLCHoklch(43.75% 0.212 283.3)
XYZxyz(13.2822, 7.0986, 49.9504)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CBF #9FBF2C
analogous
#2C55BF #4C2CBF #952CBF
triadic
#4C2CBF #BF4C2C #2CBF4C
tetradic
#4C2CBF #BF2C55 #9FBF2C #2CBF95
square
#4C2CBF #BF2C55 #9FBF2C #2CBF95
split-complementary
#4C2CBF #BF952C #55BF2C
monochromatic
#24155C #38218D #4C2CBF #6E51D7 #9883E2

Accessibility & contrast

On white

8.68
#4C2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4C2CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CBF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CBF#FFFFFF#000000##FFFFFF
##4C2CBF1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2cbf;
/* rgb */ color: rgb(76, 44, 191);
/* oklch */ color: oklch(43.7% 0.212 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c6ad4',
    500: '#4c2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4c2cbf;
$custom-light: #8c6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2cbf",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 253.061,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43748,
    "c": 0.21164,
    "h": 283.3
  },
  "luminance": 0.07099
}

Semantic roles & 50–950 ramp

primary
#4C2CBF
secondary
#BACC7B
accent
#E642C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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