#5930AA#5930AA

#5930AA is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.182 H 292.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#5930AA
RGBrgb(89, 48, 170)
HSLhsl(260, 56%, 43%)
HSVhsv(260, 72%, 67%)
CMYKcmyk(47.6%, 71.8%, 0%, 33.3%)
CIE-LABlab(32.12, 46.37, -58.76)
CIE-LCHlch(32.12, 74.85, 308.28°)
OKLaboklab(43.54% 0.0699 -0.1684)
OKLCHoklch(43.54% 0.182 292.5)
XYZxyz(12.4305, 7.1396, 38.7456)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930AA #81AA30
analogous
#3044AA #5930AA #9630AA
triadic
#5930AA #AA5930 #30AA59
tetradic
#5930AA #AA3044 #81AA30 #30AA96
square
#5930AA #AA3044 #81AA30 #30AA96
split-complementary
#5930AA #AA9630 #44AA30
monochromatic
#27154B #40237A #5930AA #764BCC #9B7BDA

Accessibility & contrast

On white

8.65
#5930AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#5930AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5930AA#FFFFFF#000000##FFFFFF
##5930AA1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#404F6A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5930aa;
/* rgb */ color: rgb(89, 48, 170);
/* oklch */ color: oklch(43.5% 0.182 292.5);
Tailwind
colors: {
  custom: {
    50: '#8f6cc4',
    500: '#5930aa',
    950: '#000000',
  },
}
SCSS
$custom: #5930aa;
$custom-light: #8f6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#5930aa",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 260.164,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43538,
    "c": 0.18237,
    "h": 292.5
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#5930AA
secondary
#A8C274
accent
#DF49AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5930AA

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

Preview Lab → · Contrast checker → · Palette generator →

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