#4C2CA5#4C2CA5

#4C2CA5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.181 H 287.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4C2CA5
RGBrgb(76, 44, 165)
HSLhsl(256, 58%, 41%)
HSVhsv(256, 73%, 65%)
CMYKcmyk(53.9%, 73.3%, 0%, 35.3%)
CIE-LABlab(29.55, 44.88, -60.02)
CIE-LCHlch(29.55, 74.94, 306.79°)
OKLaboklab(41.25% 0.0553 -0.1725)
OKLCHoklch(41.25% 0.181 287.8)
XYZxyz(10.6707, 6.0539, 36.1963)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CA5 #85A52C
analogous
#2C48A5 #4C2CA5 #882CA5
triadic
#4C2CA5 #A54C2C #2CA54C
tetradic
#4C2CA5 #A52C48 #85A52C #2CA588
square
#4C2CA5 #A52C48 #85A52C #2CA588
split-complementary
#4C2CA5 #A5882C #48A52C
monochromatic
#1F1244 #361F75 #4C2CA5 #6642CD #8D72D9

Accessibility & contrast

On white

9.50
#4C2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4C2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CA5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CA5#FFFFFF#000000##FFFFFF
##4C2CA51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#284D66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c2ca5;
/* rgb */ color: rgb(76, 44, 165);
/* oklch */ color: oklch(41.3% 0.181 287.8);
Tailwind
colors: {
  custom: {
    50: '#8768c1',
    500: '#4c2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ca5;
$custom-light: #8768c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ca5",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 255.868,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4125,
    "c": 0.18119,
    "h": 287.8
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#4C2CA5
secondary
#AAC16C
accent
#E147B8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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