#4C2490#4C2490

#4C2490 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.165 H 294.0°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4C2490
RGBrgb(76, 36, 144)
HSLhsl(262, 60%, 35%)
HSVhsv(262, 75%, 56%)
CMYKcmyk(47.2%, 75%, 0%, 43.5%)
CIE-LABlab(26.19, 42.99, -52.68)
CIE-LCHlch(26.19, 68.00, 309.22°)
OKLaboklab(38.29% 0.0673 -0.151)
OKLCHoklch(38.29% 0.165 294)
XYZxyz(8.6440, 4.8116, 26.8534)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2490 #689024
analogous
#243290 #4C2490 #822490
triadic
#4C2490 #904C24 #24904C
tetradic
#4C2490 #902432 #689024 #249082
square
#4C2490 #902432 #689024 #249082
split-complementary
#4C2490 #908224 #329024
monochromatic
#180C2E #32185F #4C2490 #6630C1 #8759D5

Accessibility & contrast

On white

10.70
#4C2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4C2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2490
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2490#FFFFFF#000000##FFFFFF
##4C24901.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003C8E
Tritanopia (blue-blind)
#384058
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4c2490;
/* rgb */ color: rgb(76, 36, 144);
/* oklch */ color: oklch(38.3% 0.165 294.0);
Tailwind
colors: {
  custom: {
    50: '#8563b1',
    500: '#4c2490',
    950: '#000000',
  },
}
SCSS
$custom: #4c2490;
$custom-light: #8563b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2490",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 262.222,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38294,
    "c": 0.16532,
    "h": 294
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#4C2490
secondary
#95BA56
accent
#E345A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2490

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

Preview Lab → · Contrast checker → · Palette generator →

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