#5930A5#5930A5

#5930A5 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.1% C 0.176 H 293.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#5930A5
RGBrgb(89, 48, 165)
HSLhsl(261, 55%, 42%)
HSVhsv(261, 71%, 65%)
CMYKcmyk(46.1%, 70.9%, 0%, 35.3%)
CIE-LABlab(31.70, 44.99, -56.44)
CIE-LCHlch(31.70, 72.17, 308.56°)
OKLaboklab(43.11% 0.0709 -0.1616)
OKLCHoklch(43.11% 0.176 293.7)
XYZxyz(11.9664, 6.9540, 36.3018)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930A5 #7CA530
analogous
#3041A5 #5930A5 #9430A5
triadic
#5930A5 #A55930 #30A559
tetradic
#5930A5 #A53041 #7CA530 #30A594
square
#5930A5 #A53041 #7CA530 #30A594
split-complementary
#5930A5 #A59430 #41A530
monochromatic
#261446 #3F2276 #5930A5 #7648CA #9978D8

Accessibility & contrast

On white

8.78
#5930A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#5930A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930A5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930A5#FFFFFF#000000##FFFFFF
##5930A51.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#434E67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5930a5;
/* rgb */ color: rgb(89, 48, 165);
/* oklch */ color: oklch(43.1% 0.176 293.7);
Tailwind
colors: {
  custom: {
    50: '#8f6cc1',
    500: '#5930a5',
    950: '#000000',
  },
}
SCSS
$custom: #5930a5;
$custom-light: #8f6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#5930a5",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 261.026,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.17648,
    "h": 293.7
  },
  "luminance": 0.06954
}

Semantic roles & 50–950 ramp

primary
#5930A5
secondary
#A4C071
accent
#DE4AAA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5930A5

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

Preview Lab → · Contrast checker → · Palette generator →

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