#5928A9#5928A9

#5928A9 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.190 H 294.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#5928A9
RGBrgb(89, 40, 169)
HSLhsl(263, 62%, 41%)
HSVhsv(263, 76%, 66%)
CMYKcmyk(47.3%, 76.3%, 0%, 33.7%)
CIE-LABlab(30.65, 50.00, -60.56)
CIE-LCHlch(30.65, 78.54, 309.55°)
OKLaboklab(42.47% 0.0773 -0.1737)
OKLCHoklch(42.47% 0.19 294)
XYZxyz(12.0381, 6.5056, 38.1499)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928A9 #78A928
analogous
#2837A9 #5928A9 #9928A9
triadic
#5928A9 #A95928 #28A959
tetradic
#5928A9 #A92837 #78A928 #28A999
square
#5928A9 #A92837 #78A928 #28A999
split-complementary
#5928A9 #A99928 #37A928
monochromatic
#251146 #3F1C78 #5928A9 #753DD1 #986FDD

Accessibility & contrast

On white

9.13
#5928A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#5928A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928A9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928A9#FFFFFF#000000##FFFFFF
##5928A91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0046A7
Tritanopia (blue-blind)
#414B67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5928a9;
/* rgb */ color: rgb(89, 40, 169);
/* oklch */ color: oklch(42.5% 0.190 294.0);
Tailwind
colors: {
  custom: {
    50: '#9067c4',
    500: '#5928a9',
    950: '#000000',
  },
}
SCSS
$custom: #5928a9;
$custom-light: #9067c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5928a9",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 262.791,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42474,
    "c": 0.19007,
    "h": 294
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#5928A9
secondary
#A1C469
accent
#E543A7
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5928A9

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

Preview Lab → · Contrast checker → · Palette generator →

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