#5928AF#5928AF

#5928AF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.197 H 292.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#5928AF
RGBrgb(89, 40, 175)
HSLhsl(262, 63%, 42%)
HSVhsv(262, 77%, 69%)
CMYKcmyk(49.1%, 77.1%, 0%, 31.4%)
CIE-LABlab(31.20, 51.60, -63.26)
CIE-LCHlch(31.20, 81.64, 309.20°)
OKLaboklab(43.02% 0.0756 -0.1816)
OKLCHoklch(43.02% 0.197 292.6)
XYZxyz(12.6143, 6.7361, 41.1847)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928AF #7EAF28
analogous
#283AAF #5928AF #9D28AF
triadic
#5928AF #AF5928 #28AF59
tetradic
#5928AF #AF283A #7EAF28 #28AF9D
square
#5928AF #AF283A #7EAF28 #28AF9D
split-complementary
#5928AF #AF9D28 #3AAF28
monochromatic
#26114B #401D7D #5928AF #7641D4 #9A73DF

Accessibility & contrast

On white

8.95
#5928AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5928AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928AF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928AF#FFFFFF#000000##FFFFFF
##5928AF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#3D4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5928af;
/* rgb */ color: rgb(89, 40, 175);
/* oklch */ color: oklch(43.0% 0.197 292.6);
Tailwind
colors: {
  custom: {
    50: '#9168c8',
    500: '#5928af',
    950: '#000000',
  },
}
SCSS
$custom: #5928af;
$custom-light: #9168c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5928af",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 261.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43022,
    "c": 0.1967,
    "h": 292.6
  },
  "luminance": 0.06737
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5928AF

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

Preview Lab → · Contrast checker → · Palette generator →

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