#5928AB#5928AB

#5928AB is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.192 H 293.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#5928AB
RGBrgb(89, 40, 171)
HSLhsl(262, 62%, 41%)
HSVhsv(262, 77%, 67%)
CMYKcmyk(48%, 76.6%, 0%, 32.9%)
CIE-LABlab(30.83, 50.54, -61.46)
CIE-LCHlch(30.83, 79.57, 309.43°)
OKLaboklab(42.66% 0.0767 -0.1763)
OKLCHoklch(42.66% 0.192 293.5)
XYZxyz(12.2273, 6.5813, 39.1463)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928AB #7AAB28
analogous
#2839AB #5928AB #9B28AB
triadic
#5928AB #AB5928 #28AB59
tetradic
#5928AB #AB2839 #7AAB28 #28AB9B
square
#5928AB #AB2839 #7AAB28 #28AB9B
split-complementary
#5928AB #AB9B28 #39AB28
monochromatic
#251148 #3F1C79 #5928AB #763ED2 #9970DE

Accessibility & contrast

On white

9.07
#5928AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#5928AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928AB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928AB#FFFFFF#000000##FFFFFF
##5928AB1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#404C68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5928ab;
/* rgb */ color: rgb(89, 40, 171);
/* oklch */ color: oklch(42.7% 0.192 293.5);
Tailwind
colors: {
  custom: {
    50: '#9068c5',
    500: '#5928ab',
    950: '#000000',
  },
}
SCSS
$custom: #5928ab;
$custom-light: #9068c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5928ab",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 262.443,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.19228,
    "h": 293.5
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#5928AB
secondary
#A3C46A
accent
#E543A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5928AB

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

Preview Lab → · Contrast checker → · Palette generator →

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