#5922A7#5922A7

#5922A7 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.7% C 0.194 H 295.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#5922A7
RGBrgb(89, 34, 167)
HSLhsl(265, 66%, 39%)
HSVhsv(265, 80%, 65%)
CMYKcmyk(46.7%, 79.6%, 0%, 34.5%)
CIE-LABlab(29.56, 52.11, -61.15)
CIE-LCHlch(29.56, 80.34, 310.44°)
OKLaboklab(41.65% 0.0826 -0.1753)
OKLCHoklch(41.65% 0.194 295.2)
XYZxyz(11.6650, 6.0576, 37.1064)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5922A7 #70A722
analogous
#222EA7 #5922A7 #9C22A7
triadic
#5922A7 #A75922 #22A759
tetradic
#5922A7 #A7222E #70A722 #22A79C
square
#5922A7 #A7222E #70A722 #22A79C
split-complementary
#5922A7 #A79C22 #2EA722
monochromatic
#230D41 #3E1874 #5922A7 #7531D5 #9764DF

Accessibility & contrast

On white

9.50
#5922A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#5922A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5922A7
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5922A7#FFFFFF#000000##FFFFFF
##5922A71.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AB
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#424865
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5922a7;
/* rgb */ color: rgb(89, 34, 167);
/* oklch */ color: oklch(41.7% 0.194 295.2);
Tailwind
colors: {
  custom: {
    50: '#9064c2',
    500: '#5922a7',
    950: '#000000',
  },
}
SCSS
$custom: #5922a7;
$custom-light: #9064c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5922a7",
  "rgb": {
    "r": 89,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 264.812,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.19384,
    "h": 295.2
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#5922A7
secondary
#9BC560
accent
#E93FA3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5922A7

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

Preview Lab → · Contrast checker → · Palette generator →

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