#5930A4#5930A4

#5930A4 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.175 H 293.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#5930A4
RGBrgb(89, 48, 164)
HSLhsl(261, 55%, 42%)
HSVhsv(261, 71%, 64%)
CMYKcmyk(45.7%, 70.7%, 0%, 35.7%)
CIE-LABlab(31.62, 44.71, -55.97)
CIE-LCHlch(31.62, 71.64, 308.62°)
OKLaboklab(43.02% 0.0711 -0.1602)
OKLCHoklch(43.02% 0.175 293.9)
XYZxyz(11.8758, 6.9177, 35.8243)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930A4 #7BA430
analogous
#3041A4 #5930A4 #9330A4
triadic
#5930A4 #A45930 #30A459
tetradic
#5930A4 #A43041 #7BA430 #30A493
square
#5930A4 #A43041 #7BA430 #30A493
split-complementary
#5930A4 #A49330 #41A430
monochromatic
#261445 #3F2275 #5930A4 #7648C9 #9977D7

Accessibility & contrast

On white

8.81
#5930A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5930A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930A4
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930A4#FFFFFF#000000##FFFFFF
##5930A41.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#434D66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5930a4;
/* rgb */ color: rgb(89, 48, 164);
/* oklch */ color: oklch(43.0% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#8f6cc0',
    500: '#5930a4',
    950: '#000000',
  },
}
SCSS
$custom: #5930a4;
$custom-light: #8f6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#5930a4",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 164
  },
  "hsl": {
    "h": 261.207,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43023,
    "c": 0.17531,
    "h": 293.9
  },
  "luminance": 0.06918
}

Semantic roles & 50–950 ramp

primary
#5930A4
secondary
#A3BF70
accent
#DE4AAA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5930A4

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

Preview Lab → · Contrast checker → · Palette generator →

#5930A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva