#4C2991#4C2991

#4C2991 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.161 H 292.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4C2991
RGBrgb(76, 41, 145)
HSLhsl(260, 56%, 36%)
HSVhsv(260, 72%, 57%)
CMYKcmyk(47.6%, 71.7%, 0%, 43.1%)
CIE-LABlab(27.20, 40.68, -51.64)
CIE-LCHlch(27.20, 65.74, 308.23°)
OKLaboklab(39.04% 0.0623 -0.148)
OKLCHoklch(39.04% 0.161 292.8)
XYZxyz(8.8828, 5.1664, 27.3118)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2991 #6E9129
analogous
#293A91 #4C2991 #802991
triadic
#4C2991 #914C29 #29914C
tetradic
#4C2991 #91293A #6E9129 #299180
square
#4C2991 #91293A #6E9129 #299180
split-complementary
#4C2991 #918029 #3A9129
monochromatic
#1A0E32 #331C61 #4C2991 #6536C1 #8862D3

Accessibility & contrast

On white

10.33
#4C2991 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4C2991 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2991
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2991#FFFFFF#000000##FFFFFF
##4C29911.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003E8F
Tritanopia (blue-blind)
#37435A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2991;
/* rgb */ color: rgb(76, 41, 145);
/* oklch */ color: oklch(39.0% 0.161 292.8);
Tailwind
colors: {
  custom: {
    50: '#8566b2',
    500: '#4c2991',
    950: '#000000',
  },
}
SCSS
$custom: #4c2991;
$custom-light: #8566b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2991",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 260.192,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39039,
    "c": 0.16055,
    "h": 292.8
  },
  "luminance": 0.05167
}

Semantic roles & 50–950 ramp

primary
#4C2991
secondary
#9AB85D
accent
#DF49AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2991

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

Preview Lab → · Contrast checker → · Palette generator →

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