#4C1990#4C1990

#4C1990 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.177 H 295.6°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#4C1990
RGBrgb(76, 25, 144)
HSLhsl(266, 70%, 33%)
HSVhsv(266, 83%, 56%)
CMYKcmyk(47.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(24.47, 47.95, -55.51)
CIE-LCHlch(24.47, 73.35, 310.82°)
OKLaboklab(37.09% 0.0764 -0.1592)
OKLCHoklch(37.09% 0.177 295.6)
XYZxyz(8.3608, 4.2452, 26.7590)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C1990 #5D9019
analogous
#192290 #4C1990 #871990
triadic
#4C1990 #904C19 #19904C
tetradic
#4C1990 #901922 #5D9019 #199087
square
#4C1990 #901922 #5D9019 #199087
split-complementary
#4C1990 #908719 #229019
monochromatic
#150728 #30105C #4C1990 #6822C4 #8745DF

Accessibility & contrast

On white

11.36
#4C1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4C1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C1990
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C1990#FFFFFF#000000##FFFFFF
##4C19901.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#383C55
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4c1990;
/* rgb */ color: rgb(76, 25, 144);
/* oklch */ color: oklch(37.1% 0.177 295.6);
Tailwind
colors: {
  custom: {
    50: '#865db2',
    500: '#4c1990',
    950: '#000000',
  },
}
SCSS
$custom: #4c1990;
$custom-light: #865db2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c1990",
  "rgb": {
    "r": 76,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 265.714,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37088,
    "c": 0.17657,
    "h": 295.6
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

primary
#4C1990
secondary
#8BC045
accent
#ED3BA1
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4C1990

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

Preview Lab → · Contrast checker → · Palette generator →

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