#4C2A93#4C2A93

#4C2A93 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.162 H 292.1°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4C2A93
RGBrgb(76, 42, 147)
HSLhsl(259, 56%, 37%)
HSVhsv(259, 71%, 58%)
CMYKcmyk(48.3%, 71.4%, 0%, 42.4%)
CIE-LABlab(27.57, 40.72, -52.28)
CIE-LCHlch(27.57, 66.26, 307.91°)
OKLaboklab(39.35% 0.0609 -0.1498)
OKLCHoklch(39.35% 0.162 292.1)
XYZxyz(9.0734, 5.2987, 28.1428)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2A93 #71932A
analogous
#2A3C93 #4C2A93 #812A93
triadic
#4C2A93 #934C2A #2A934C
tetradic
#4C2A93 #932A3C #71932A #2A9381
square
#4C2A93 #932A3C #71932A #2A9381
split-complementary
#4C2A93 #93812A #3C932A
monochromatic
#1B0F34 #331C63 #4C2A93 #6538C3 #8865D3

Accessibility & contrast

On white

10.20
#4C2A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4C2A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2A93
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2A93#FFFFFF#000000##FFFFFF
##4C2A931.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#36455B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4c2a93;
/* rgb */ color: rgb(76, 42, 147);
/* oklch */ color: oklch(39.4% 0.162 292.1);
Tailwind
colors: {
  custom: {
    50: '#8566b4',
    500: '#4c2a93',
    950: '#000000',
  },
}
SCSS
$custom: #4c2a93;
$custom-light: #8566b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2a93",
  "rgb": {
    "r": 76,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 259.429,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.16176,
    "h": 292.1
  },
  "luminance": 0.05299
}

Semantic roles & 50–950 ramp

primary
#4C2A93
secondary
#9CB960
accent
#DF49AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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