#4C2CBD#4C2CBD

#4C2CBD is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.209 H 283.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4C2CBD
RGBrgb(76, 44, 189)
HSLhsl(253, 62%, 46%)
HSVhsv(253, 77%, 74%)
CMYKcmyk(59.8%, 76.7%, 0%, 25.9%)
CIE-LABlab(31.83, 51.86, -70.59)
CIE-LCHlch(31.83, 87.59, 306.31°)
OKLaboklab(43.55% 0.0492 -0.2035)
OKLCHoklch(43.55% 0.209 283.6)
XYZxyz(13.0636, 7.0111, 48.7991)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CBD #9DBD2C
analogous
#2C55BD #4C2CBD #942CBD
triadic
#4C2CBD #BD4C2C #2CBD4C
tetradic
#4C2CBD #BD2C55 #9DBD2C #2CBD94
square
#4C2CBD #BD2C55 #9DBD2C #2CBD94
split-complementary
#4C2CBD #BD942C #55BD2C
monochromatic
#24155A #38208B #4C2CBD #6E50D6 #9782E2

Accessibility & contrast

On white

8.74
#4C2CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4C2CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CBD
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CBD#FFFFFF#000000##FFFFFF
##4C2CBD1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC1
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4c2cbd;
/* rgb */ color: rgb(76, 44, 189);
/* oklch */ color: oklch(43.5% 0.209 283.6);
Tailwind
colors: {
  custom: {
    50: '#8b69d2',
    500: '#4c2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c2cbd;
$custom-light: #8b69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2cbd",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 253.241,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4355,
    "c": 0.20934,
    "h": 283.6
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#4C2CBD
secondary
#B9CB7A
accent
#E542C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4C2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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