#5920A7#5920A7

#5920A7 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.5% C 0.196 H 295.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#5920A7
RGBrgb(89, 32, 167)
HSLhsl(265, 68%, 39%)
HSVhsv(265, 81%, 65%)
CMYKcmyk(46.7%, 80.8%, 0%, 34.5%)
CIE-LABlab(29.28, 52.92, -61.61)
CIE-LCHlch(29.28, 81.22, 310.66°)
OKLaboklab(41.46% 0.0841 -0.1767)
OKLCHoklch(41.46% 0.196 295.5)
XYZxyz(11.6095, 5.9466, 37.0878)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5920A7 #6EA720
analogous
#202BA7 #5920A7 #9D20A7
triadic
#5920A7 #A75920 #20A759
tetradic
#5920A7 #A7202B #6EA720 #20A79D
square
#5920A7 #A7202B #6EA720 #20A79D
split-complementary
#5920A7 #A79D20 #2BA720
monochromatic
#220C40 #3E1674 #5920A7 #752DD7 #9761E1

Accessibility & contrast

On white

9.59
#5920A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#5920A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5920A7
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5920A7#FFFFFF#000000##FFFFFF
##5920A71.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AB
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#424764
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #5920a7;
/* rgb */ color: rgb(89, 32, 167);
/* oklch */ color: oklch(41.5% 0.196 295.5);
Tailwind
colors: {
  custom: {
    50: '#9063c2',
    500: '#5920a7',
    950: '#000000',
  },
}
SCSS
$custom: #5920a7;
$custom-light: #9063c2;
$custom-dark: #000000;
JSON
{
  "hex": "#5920a7",
  "rgb": {
    "r": 89,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 265.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.19567,
    "h": 295.5
  },
  "luminance": 0.05947
}

Semantic roles & 50–950 ramp

primary
#5920A7
secondary
#99C55D
accent
#EB3DA1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5920A7

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

Preview Lab → · Contrast checker → · Palette generator →

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