#5C2499#5C2499

#5C2499 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.177 H 300.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5C2499
RGBrgb(92, 36, 153)
HSLhsl(269, 62%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(39.9%, 76.5%, 0%, 40%)
CIE-LABlab(29.00, 48.17, -53.55)
CIE-LCHlch(29.00, 72.03, 311.97°)
OKLaboklab(40.96% 0.0894 -0.1529)
OKLCHoklch(40.96% 0.177 300.3)
XYZxyz(10.7928, 5.8369, 30.6888)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2499 #619924
analogous
#242699 #5C2499 #972499
triadic
#5C2499 #995C24 #24995C
tetradic
#5C2499 #992426 #619924 #249997
square
#5C2499 #992426 #619924 #249997
split-complementary
#5C2499 #999724 #269924
monochromatic
#200D36 #3E1867 #5C2499 #7A30CB #995ED9

Accessibility & contrast

On white

9.69
#5C2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5C2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2499
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2499#FFFFFF#000000##FFFFFF
##5C24991.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#4E425D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5c2499;
/* rgb */ color: rgb(92, 36, 153);
/* oklch */ color: oklch(41.0% 0.177 300.3);
Tailwind
colors: {
  custom: {
    50: '#9065b8',
    500: '#5c2499',
    950: '#000000',
  },
}
SCSS
$custom: #5c2499;
$custom-light: #9065b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2499",
  "rgb": {
    "r": 92,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 268.718,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.17718,
    "h": 300.3
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#5C2499
secondary
#8FBE5B
accent
#E54397
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2499

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

Preview Lab → · Contrast checker → · Palette generator →

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