#5928B0#5928B0

#5928B0 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.198 H 292.4°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#5928B0
RGBrgb(89, 40, 176)
HSLhsl(262, 63%, 42%)
HSVhsv(262, 77%, 69%)
CMYKcmyk(49.4%, 77.3%, 0%, 31%)
CIE-LABlab(31.29, 51.87, -63.71)
CIE-LCHlch(31.29, 82.15, 309.15°)
OKLaboklab(43.11% 0.0753 -0.1829)
OKLCHoklch(43.11% 0.198 292.4)
XYZxyz(12.7129, 6.7756, 41.7039)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928B0 #7FB028
analogous
#283BB0 #5928B0 #9D28B0
triadic
#5928B0 #B05928 #28B059
tetradic
#5928B0 #B0283B #7FB028 #28B09D
square
#5928B0 #B0283B #7FB028 #28B09D
split-complementary
#5928B0 #B09D28 #3BB028
monochromatic
#27114C #401D7E #5928B0 #7641D4 #9A73DF

Accessibility & contrast

On white

8.92
#5928B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5928B0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928B0#FFFFFF#000000##FFFFFF
##5928B01.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#3D4E6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5928b0;
/* rgb */ color: rgb(89, 40, 176);
/* oklch */ color: oklch(43.1% 0.198 292.4);
Tailwind
colors: {
  custom: {
    50: '#9168c9',
    500: '#5928b0',
    950: '#000000',
  },
}
SCSS
$custom: #5928b0;
$custom-light: #9168c9;
$custom-dark: #000000;
JSON
{
  "hex": "#5928b0",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 261.618,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.1978,
    "h": 292.4
  },
  "luminance": 0.06776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5928B0

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

Preview Lab → · Contrast checker → · Palette generator →

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