#5C2599#5C2599

#5C2599 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.176 H 300.2°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#5C2599
RGBrgb(92, 37, 153)
HSLhsl(268, 61%, 37%)
HSVhsv(268, 76%, 60%)
CMYKcmyk(39.9%, 75.8%, 0%, 40%)
CIE-LABlab(29.15, 47.72, -53.29)
CIE-LCHlch(29.15, 71.54, 311.84°)
OKLaboklab(41.07% 0.0885 -0.1522)
OKLCHoklch(41.07% 0.176 300.2)
XYZxyz(10.8235, 5.8983, 30.6991)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2599 #629925
analogous
#252899 #5C2599 #962599
triadic
#5C2599 #995C25 #25995C
tetradic
#5C2599 #992528 #629925 #259996
square
#5C2599 #992528 #629925 #259996
split-complementary
#5C2599 #999625 #289925
monochromatic
#210D36 #3E1968 #5C2599 #7A31CA #9960D9

Accessibility & contrast

On white

9.63
#5C2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#5C2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C2599
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2599#FFFFFF#000000##FFFFFF
##5C25991.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004497
Tritanopia (blue-blind)
#4E435D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5c2599;
/* rgb */ color: rgb(92, 37, 153);
/* oklch */ color: oklch(41.1% 0.176 300.2);
Tailwind
colors: {
  custom: {
    50: '#9065b8',
    500: '#5c2599',
    950: '#000000',
  },
}
SCSS
$custom: #5c2599;
$custom-light: #9065b8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2599",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 268.448,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41073,
    "c": 0.17607,
    "h": 300.2
  },
  "luminance": 0.05898
}

Semantic roles & 50–950 ramp

primary
#5C2599
secondary
#8FBE5C
accent
#E44498
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2599

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

Preview Lab → · Contrast checker → · Palette generator →

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