#5C2598#5C2598

#5C2598 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.175 H 300.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#5C2598
RGBrgb(92, 37, 152)
HSLhsl(269, 61%, 37%)
HSVhsv(269, 76%, 60%)
CMYKcmyk(39.5%, 75.7%, 0%, 40.4%)
CIE-LABlab(29.07, 47.47, -52.82)
CIE-LCHlch(29.07, 71.01, 311.95°)
OKLaboklab(40.99% 0.0887 -0.1508)
OKLCHoklch(40.99% 0.175 300.5)
XYZxyz(10.7413, 5.8654, 30.2659)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C2598 #619825
analogous
#252798 #5C2598 #962598
triadic
#5C2598 #985C25 #25985C
tetradic
#5C2598 #982527 #619825 #259896
square
#5C2598 #982527 #619825 #259896
split-complementary
#5C2598 #989625 #279825
monochromatic
#200D36 #3E1967 #5C2598 #7A31C9 #995FD8

Accessibility & contrast

On white

9.66
#5C2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C2598
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C2598#FFFFFF#000000##FFFFFF
##5C25981.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c2598;
/* rgb */ color: rgb(92, 37, 152);
/* oklch */ color: oklch(41.0% 0.175 300.5);
Tailwind
colors: {
  custom: {
    50: '#9065b7',
    500: '#5c2598',
    950: '#000000',
  },
}
SCSS
$custom: #5c2598;
$custom-light: #9065b7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c2598",
  "rgb": {
    "r": 92,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 268.696,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40988,
    "c": 0.17498,
    "h": 300.5
  },
  "luminance": 0.05865
}

Semantic roles & 50–950 ramp

primary
#5C2598
secondary
#8FBD5C
accent
#E44497
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5C2598

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

Preview Lab → · Contrast checker → · Palette generator →

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