#4C2CA9#4C2CA9

#4C2CA9 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.186 H 287.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#4C2CA9
RGBrgb(76, 44, 169)
HSLhsl(255, 59%, 42%)
HSVhsv(255, 74%, 66%)
CMYKcmyk(55%, 74%, 0%, 33.7%)
CIE-LABlab(29.92, 46.05, -61.82)
CIE-LCHlch(29.92, 77.09, 306.68°)
OKLaboklab(41.62% 0.0544 -0.1778)
OKLCHoklch(41.62% 0.186 287)
XYZxyz(11.0405, 6.2019, 38.1437)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CA9 #89A92C
analogous
#2C4BA9 #4C2CA9 #8B2CA9
triadic
#4C2CA9 #A94C2C #2CA94C
tetradic
#4C2CA9 #A92C4B #89A92C #2CA98B
square
#4C2CA9 #A92C4B #89A92C #2CA98B
split-complementary
#4C2CA9 #A98B2C #4BA92C
monochromatic
#201348 #361F78 #4C2CA9 #6744CE #8F74DB

Accessibility & contrast

On white

9.37
#4C2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4C2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CA9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CA9#FFFFFF#000000##FFFFFF
##4C2CA91.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#244E68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c2ca9;
/* rgb */ color: rgb(76, 44, 169);
/* oklch */ color: oklch(41.6% 0.186 287.0);
Tailwind
colors: {
  custom: {
    50: '#8869c4',
    500: '#4c2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ca9;
$custom-light: #8869c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ca9",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 255.36,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.18597,
    "h": 287
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#4C2CA9
secondary
#ADC36E
accent
#E246BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4C2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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