#5928D1#5928D1

#5928D1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.3% C 0.234 H 286.2°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#5928D1
RGBrgb(89, 40, 209)
HSLhsl(257, 68%, 49%)
HSVhsv(257, 81%, 82%)
CMYKcmyk(57.4%, 80.9%, 0%, 18%)
CIE-LABlab(34.49, 60.66, -77.86)
CIE-LCHlch(34.49, 98.70, 307.92°)
OKLaboklab(46.29% 0.065 -0.2243)
OKLCHoklch(46.29% 0.234 286.2)
XYZxyz(16.3838, 8.2439, 61.0371)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5928D1 #A0D128
analogous
#284CD1 #5928D1 #AE28D1
triadic
#5928D1 #D15928 #28D159
tetradic
#5928D1 #D1284C #A0D128 #28D1AE
square
#5928D1 #D1284C #A0D128 #28D1AE
split-complementary
#5928D1 #D1AE28 #4CD128
monochromatic
#2D146A #431E9E #5928D1 #7F57DF #A68BE9

Accessibility & contrast

On white

7.93
#5928D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#5928D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5928D1
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5928D1#FFFFFF#000000##FFFFFF
##5928D11.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D6
Deuteranopia (green-blind)
#004CCE
Tritanopia (blue-blind)
#195C7E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5928d1;
/* rgb */ color: rgb(89, 40, 209);
/* oklch */ color: oklch(46.3% 0.234 286.2);
Tailwind
colors: {
  custom: {
    50: '#966ae1',
    500: '#5928d1',
    950: '#000000',
  },
}
SCSS
$custom: #5928d1;
$custom-light: #966ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#5928d1",
  "rgb": {
    "r": 89,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 257.396,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.23351,
    "h": 286.2
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#5928D1
secondary
#BBD382
accent
#EB3DB8
background
#FAF6FE
surface
#F3EBFC
border
#CDC6D5
text
#0F0715
muted
#7F7A84

Preview Lab

Preview with #5928D1

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

Preview Lab → · Contrast checker → · Palette generator →

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