#4C2CA3#4C2CA3

#4C2CA3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.179 H 288.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4C2CA3
RGBrgb(76, 44, 163)
HSLhsl(256, 57%, 41%)
HSVhsv(256, 73%, 64%)
CMYKcmyk(53.4%, 73%, 0%, 36.1%)
CIE-LABlab(29.37, 44.29, -59.11)
CIE-LCHlch(29.37, 73.86, 306.85°)
OKLaboklab(41.07% 0.0558 -0.1699)
OKLCHoklch(41.07% 0.179 288.2)
XYZxyz(10.4901, 5.9817, 35.2451)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2CA3 #83A32C
analogous
#2C48A3 #4C2CA3 #872CA3
triadic
#4C2CA3 #A34C2C #2CA34C
tetradic
#4C2CA3 #A32C48 #83A32C #2CA387
square
#4C2CA3 #A32C48 #83A32C #2CA387
split-complementary
#4C2CA3 #A3872C #48A32C
monochromatic
#1F1243 #361F73 #4C2CA3 #6641CC #8D71D9

Accessibility & contrast

On white

9.56
#4C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2CA3
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2CA3#FFFFFF#000000##FFFFFF
##4C2CA31.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#2A4C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4c2ca3;
/* rgb */ color: rgb(76, 44, 163);
/* oklch */ color: oklch(41.1% 0.179 288.2);
Tailwind
colors: {
  custom: {
    50: '#8768bf',
    500: '#4c2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #4c2ca3;
$custom-light: #8768bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2ca3",
  "rgb": {
    "r": 76,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 256.134,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41066,
    "c": 0.17878,
    "h": 288.2
  },
  "luminance": 0.05982
}

Semantic roles & 50–950 ramp

primary
#4C2CA3
secondary
#A9C06B
accent
#E147B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4C2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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