#4C2CA4#4C2CA4

#4C2CA4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.180 H 288.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4C2CA4
RGBrgb(76, 44, 164)
HSLhsl(256, 58%, 41%)
HSVhsv(256, 73%, 64%)
CMYKcmyk(53.7%, 73.2%, 0%, 35.7%)
CIE-LABlab(29.46, 44.59, -59.56)
CIE-LCHlch(29.46, 74.40, 306.82°)
OKLaboklab(41.16% 0.0555 -0.1712)
OKLCHoklch(41.16% 0.18 288)
XYZxyz(10.5800, 6.0177, 35.7188)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CA4 #84A42C
analogous
#2C48A4 #4C2CA4 #882CA4
triadic
#4C2CA4 #A44C2C #2CA44C
tetradic
#4C2CA4 #A42C48 #84A42C #2CA488
square
#4C2CA4 #A42C48 #84A42C #2CA488
split-complementary
#4C2CA4 #A4882C #48A42C
monochromatic
#1F1243 #361F74 #4C2CA4 #6641CC #8D71D9

Accessibility & contrast

On white

9.53
#4C2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4C2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2CA4
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CA4#FFFFFF#000000##FFFFFF
##4C2CA41.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#294C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c2ca4;
/* rgb */ color: rgb(76, 44, 164);
/* oklch */ color: oklch(41.2% 0.180 288.0);
Tailwind
colors: {
  custom: {
    50: '#8768c0',
    500: '#4c2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ca4;
$custom-light: #8768c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ca4",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 256,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41158,
    "c": 0.17999,
    "h": 288
  },
  "luminance": 0.06018
}

Semantic roles & 50–950 ramp

primary
#4C2CA4
secondary
#AAC06B
accent
#E147B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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