#4C2AA9#4C2AA9

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

Color values

HEX#4C2AA9
RGBrgb(76, 42, 169)
HSLhsl(256, 60%, 41%)
HSVhsv(256, 75%, 66%)
CMYKcmyk(55%, 75.1%, 0%, 33.7%)
CIE-LABlab(29.55, 47.07, -62.42)
CIE-LCHlch(29.55, 78.18, 307.02°)
OKLaboklab(41.37% 0.056 -0.1796)
OKLCHoklch(41.37% 0.188 287.3)
XYZxyz(10.9678, 6.0564, 38.1195)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2AA9 #87A92A
analogous
#2A48A9 #4C2AA9 #8C2AA9
triadic
#4C2AA9 #A94C2A #2AA94C
tetradic
#4C2AA9 #A92A48 #87A92A #2AA98C
square
#4C2AA9 #A92A48 #87A92A #2AA98C
split-complementary
#4C2AA9 #A98C2A #48A92A
monochromatic
#201247 #361E78 #4C2AA9 #6741D0 #8E72DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C2AA9#FFFFFF#000000##FFFFFF
##4C2AA91.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)
#0049AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#244D67
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4c2aa9;
/* rgb */ color: rgb(76, 42, 169);
/* oklch */ color: oklch(41.4% 0.188 287.3);
Tailwind
colors: {
  custom: {
    50: '#8867c4',
    500: '#4c2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #4c2aa9;
$custom-light: #8867c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2aa9",
  "rgb": {
    "r": 76,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 256.063,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.18808,
    "h": 287.3
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#4C2AA9
secondary
#ACC36C
accent
#E344B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4C2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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