#4C2990#4C2990

#4C2990 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.159 H 293.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4C2990
RGBrgb(76, 41, 144)
HSLhsl(260, 56%, 36%)
HSVhsv(260, 72%, 56%)
CMYKcmyk(47.2%, 71.5%, 0%, 43.5%)
CIE-LABlab(27.12, 40.40, -51.17)
CIE-LCHlch(27.12, 65.19, 308.29°)
OKLaboklab(38.95% 0.0625 -0.1466)
OKLCHoklch(38.95% 0.159 293.1)
XYZxyz(8.8061, 5.1357, 26.9075)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2990 #6D9029
analogous
#293A90 #4C2990 #802990
triadic
#4C2990 #904C29 #29904C
tetradic
#4C2990 #90293A #6D9029 #299080
square
#4C2990 #90293A #6D9029 #299080
split-complementary
#4C2990 #908029 #3A9029
monochromatic
#1A0E31 #331B60 #4C2990 #6537C0 #8861D2

Accessibility & contrast

On white

10.36
#4C2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C2990
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2990#FFFFFF#000000##FFFFFF
##4C29901.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#384359
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2990;
/* rgb */ color: rgb(76, 41, 144);
/* oklch */ color: oklch(39.0% 0.159 293.1);
Tailwind
colors: {
  custom: {
    50: '#8566b1',
    500: '#4c2990',
    950: '#000000',
  },
}
SCSS
$custom: #4c2990;
$custom-light: #8566b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2990",
  "rgb": {
    "r": 76,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 260.388,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38951,
    "c": 0.15934,
    "h": 293.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#4C2990
secondary
#99B85D
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4C2990

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

Preview Lab → · Contrast checker → · Palette generator →

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