#5928B1#5928B1

#5928B1 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.199 H 292.2°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#5928B1
RGBrgb(89, 40, 177)
HSLhsl(261, 63%, 43%)
HSVhsv(261, 77%, 69%)
CMYKcmyk(49.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(31.38, 52.13, -64.16)
CIE-LCHlch(31.38, 82.67, 309.10°)
OKLaboklab(43.21% 0.075 -0.1842)
OKLCHoklch(43.21% 0.199 292.2)
XYZxyz(12.8122, 6.8153, 42.2269)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928B1 #80B128
analogous
#283BB1 #5928B1 #9E28B1
triadic
#5928B1 #B15928 #28B159
tetradic
#5928B1 #B1283B #80B128 #28B19E
square
#5928B1 #B1283B #80B128 #28B19E
split-complementary
#5928B1 #B19E28 #3BB128
monochromatic
#27114D #401D7F #5928B1 #7642D4 #9A74E0

Accessibility & contrast

On white

8.89
#5928B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5928B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928B1
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928B1#FFFFFF#000000##FFFFFF
##5928B11.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#3C4E6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5928b1;
/* rgb */ color: rgb(89, 40, 177);
/* oklch */ color: oklch(43.2% 0.199 292.2);
Tailwind
colors: {
  custom: {
    50: '#9168c9',
    500: '#5928b1',
    950: '#000000',
  },
}
SCSS
$custom: #5928b1;
$custom-light: #9168c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5928b1",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 261.46,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.1989,
    "h": 292.2
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#5928B1
secondary
#A7C76E
accent
#E642AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5928B1

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

Preview Lab → · Contrast checker → · Palette generator →

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