#5922A1#5922A1

#5922A1 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.1% C 0.187 H 296.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#5922A1
RGBrgb(89, 34, 161)
HSLhsl(266, 65%, 38%)
HSVhsv(266, 79%, 63%)
CMYKcmyk(44.7%, 78.9%, 0%, 36.9%)
CIE-LABlab(29.01, 50.57, -58.42)
CIE-LCHlch(29.01, 77.27, 310.88°)
OKLaboklab(41.1% 0.0844 -0.1673)
OKLCHoklch(41.1% 0.187 296.8)
XYZxyz(11.1232, 5.8409, 34.2527)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5922A1 #6AA122
analogous
#222BA1 #5922A1 #9822A1
triadic
#5922A1 #A15922 #22A159
tetradic
#5922A1 #A1222B #6AA122 #22A198
square
#5922A1 #A1222B #6AA122 #22A198
split-complementary
#5922A1 #A19822 #2BA122
monochromatic
#210D3C #3D176E #5922A1 #752DD3 #9660DD

Accessibility & contrast

On white

9.69
#5922A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#5922A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5922A1
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5922A1#FFFFFF#000000##FFFFFF
##5922A11.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#464561
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #5922a1;
/* rgb */ color: rgb(89, 34, 161);
/* oklch */ color: oklch(41.1% 0.187 296.8);
Tailwind
colors: {
  custom: {
    50: '#8f64be',
    500: '#5922a1',
    950: '#000000',
  },
}
SCSS
$custom: #5922a1;
$custom-light: #8f64be;
$custom-dark: #000000;
JSON
{
  "hex": "#5922a1",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 265.984,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41101,
    "c": 0.18744,
    "h": 296.8
  },
  "luminance": 0.05841
}

Semantic roles & 50–950 ramp

primary
#5922A1
secondary
#96C25D
accent
#E8409F
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5922A1

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

Preview Lab → · Contrast checker → · Palette generator →

#5922A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva