#4C2499#4C2499

#4C2499 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.176 H 291.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#4C2499
RGBrgb(76, 36, 153)
HSLhsl(261, 62%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(50.3%, 76.5%, 0%, 40%)
CIE-LABlab(27.01, 45.50, -56.88)
CIE-LCHlch(27.01, 72.83, 308.66°)
OKLaboklab(39.12% 0.065 -0.1633)
OKLCHoklch(39.12% 0.176 291.7)
XYZxyz(9.3595, 5.0978, 30.6216)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2499 #719924
analogous
#243699 #4C2499 #872499
triadic
#4C2499 #994C24 #24994C
tetradic
#4C2499 #992436 #719924 #249987
square
#4C2499 #992436 #719924 #249987
split-complementary
#4C2499 #998724 #369924
monochromatic
#1B0D36 #331867 #4C2499 #6530CB #885ED9

Accessibility & contrast

On white

10.40
#4C2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4C2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2499
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2499#FFFFFF#000000##FFFFFF
##4C24991.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#32445D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4c2499;
/* rgb */ color: rgb(76, 36, 153);
/* oklch */ color: oklch(39.1% 0.176 291.7);
Tailwind
colors: {
  custom: {
    50: '#8663b8',
    500: '#4c2499',
    950: '#000000',
  },
}
SCSS
$custom: #4c2499;
$custom-light: #8663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2499",
  "rgb": {
    "r": 76,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 260.513,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39123,
    "c": 0.17576,
    "h": 291.7
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#4C2499
secondary
#9CBE5B
accent
#E543AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4C2499

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

Preview Lab → · Contrast checker → · Palette generator →

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