#5924B1#5924B1

#5924B1 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.8% C 0.203 H 292.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#5924B1
RGBrgb(89, 36, 177)
HSLhsl(263, 66%, 42%)
HSVhsv(263, 80%, 69%)
CMYKcmyk(49.7%, 79.7%, 0%, 30.6%)
CIE-LABlab(30.78, 53.87, -65.14)
CIE-LCHlch(30.78, 84.53, 309.59°)
OKLaboklab(42.79% 0.078 -0.1871)
OKLCHoklch(42.79% 0.203 292.6)
XYZxyz(12.6843, 6.5595, 42.1842)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5924B1 #7CB124
analogous
#2436B1 #5924B1 #A024B1
triadic
#5924B1 #B15924 #24B159
tetradic
#5924B1 #B12436 #7CB124 #24B1A0
square
#5924B1 #B12436 #7CB124 #24B1A0
split-complementary
#5924B1 #B1A024 #36B124
monochromatic
#260F4B #3F1A7E #5924B1 #763BD7 #996EE1

Accessibility & contrast

On white

9.08
#5924B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5924B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5924B1
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5924B1#FFFFFF#000000##FFFFFF
##5924B11.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#3C4D6B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5924b1;
/* rgb */ color: rgb(89, 36, 177);
/* oklch */ color: oklch(42.8% 0.203 292.6);
Tailwind
colors: {
  custom: {
    50: '#9166c9',
    500: '#5924b1',
    950: '#000000',
  },
}
SCSS
$custom: #5924b1;
$custom-light: #9166c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5924b1",
  "rgb": {
    "r": 89,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 262.553,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42789,
    "c": 0.20267,
    "h": 292.6
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#5924B1
secondary
#A4C869
accent
#E93FA9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5924B1

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

Preview Lab → · Contrast checker → · Palette generator →

#5924B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva