#4C2090#4C2090

#4C2090 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.170 H 294.7°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#4C2090
RGBrgb(76, 32, 144)
HSLhsl(264, 64%, 35%)
HSVhsv(264, 78%, 56%)
CMYKcmyk(47.2%, 77.8%, 0%, 43.5%)
CIE-LABlab(25.51, 44.93, -53.79)
CIE-LCHlch(25.51, 70.08, 309.87°)
OKLaboklab(37.82% 0.0709 -0.1542)
OKLCHoklch(37.82% 0.17 294.7)
XYZxyz(8.5297, 4.5829, 26.8153)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2090 #649020
analogous
#202C90 #4C2090 #842090
triadic
#4C2090 #904C20 #20904C
tetradic
#4C2090 #90202C #649020 #209084
square
#4C2090 #90202C #649020 #209084
split-complementary
#4C2090 #908420 #2C9020
monochromatic
#170A2C #32155E #4C2090 #662BC2 #8752D9

Accessibility & contrast

On white

10.96
#4C2090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4C2090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2090
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2090#FFFFFF#000000##FFFFFF
##4C20901.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003B8E
Tritanopia (blue-blind)
#383F57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4c2090;
/* rgb */ color: rgb(76, 32, 144);
/* oklch */ color: oklch(37.8% 0.170 294.7);
Tailwind
colors: {
  custom: {
    50: '#8561b1',
    500: '#4c2090',
    950: '#000000',
  },
}
SCSS
$custom: #4c2090;
$custom-light: #8561b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2090",
  "rgb": {
    "r": 76,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 263.571,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37816,
    "c": 0.16973,
    "h": 294.7
  },
  "luminance": 0.04583
}

Semantic roles & 50–950 ramp

primary
#4C2090
secondary
#91BC50
accent
#E741A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C2090

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

Preview Lab → · Contrast checker → · Palette generator →

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