#5928AE#5928AE

#5928AE is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.196 H 292.8°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#5928AE
RGBrgb(89, 40, 174)
HSLhsl(262, 63%, 42%)
HSVhsv(262, 77%, 68%)
CMYKcmyk(48.9%, 77%, 0%, 31.8%)
CIE-LABlab(31.11, 51.33, -62.82)
CIE-LCHlch(31.11, 81.12, 309.26°)
OKLaboklab(42.93% 0.0759 -0.1803)
OKLCHoklch(42.93% 0.196 292.8)
XYZxyz(12.5165, 6.6970, 40.6694)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928AE #7DAE28
analogous
#283AAE #5928AE #9C28AE
triadic
#5928AE #AE5928 #28AE59
tetradic
#5928AE #AE283A #7DAE28 #28AE9C
square
#5928AE #AE283A #7DAE28 #28AE9C
split-complementary
#5928AE #AE9C28 #3AAE28
monochromatic
#26114A #401D7C #5928AE #7640D3 #9A72DF

Accessibility & contrast

On white

8.98
#5928AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5928AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928AE
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928AE#FFFFFF#000000##FFFFFF
##5928AE1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#3E4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5928ae;
/* rgb */ color: rgb(89, 40, 174);
/* oklch */ color: oklch(42.9% 0.196 292.8);
Tailwind
colors: {
  custom: {
    50: '#9168c7',
    500: '#5928ae',
    950: '#000000',
  },
}
SCSS
$custom: #5928ae;
$custom-light: #9168c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5928ae",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 261.94,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4293,
    "c": 0.1956,
    "h": 292.8
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5928AE

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

Preview Lab → · Contrast checker → · Palette generator →

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