#5928A2#5928A2

#5928A2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.182 H 295.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#5928A2
RGBrgb(89, 40, 162)
HSLhsl(264, 60%, 40%)
HSVhsv(264, 75%, 64%)
CMYKcmyk(45.1%, 75.3%, 0%, 36.5%)
CIE-LABlab(30.03, 48.15, -57.35)
CIE-LCHlch(30.03, 74.88, 310.01°)
OKLaboklab(41.85% 0.0791 -0.1642)
OKLCHoklch(41.85% 0.182 295.7)
XYZxyz(11.3985, 6.2498, 34.7812)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928A2 #71A228
analogous
#2834A2 #5928A2 #9628A2
triadic
#5928A2 #A25928 #28A259
tetradic
#5928A2 #A22834 #71A228 #28A296
square
#5928A2 #A22834 #71A228 #28A296
split-complementary
#5928A2 #A29628 #34A228
monochromatic
#231040 #3E1C71 #5928A2 #7539CE #976ADA

Accessibility & contrast

On white

9.33
#5928A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#5928A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928A2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928A2#FFFFFF#000000##FFFFFF
##5928A21.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#454863
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5928a2;
/* rgb */ color: rgb(89, 40, 162);
/* oklch */ color: oklch(41.8% 0.182 295.7);
Tailwind
colors: {
  custom: {
    50: '#8f67bf',
    500: '#5928a2',
    950: '#000000',
  },
}
SCSS
$custom: #5928a2;
$custom-light: #8f67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5928a2",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 264.098,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41848,
    "c": 0.18229,
    "h": 295.7
  },
  "luminance": 0.0625
}

Semantic roles & 50–950 ramp

primary
#5928A2
secondary
#9CC165
accent
#E444A4
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5928A2

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

Preview Lab → · Contrast checker → · Palette generator →

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