#5930B9#5930B9

#5930B9 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.200 H 289.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#5930B9
RGBrgb(89, 48, 185)
HSLhsl(258, 59%, 46%)
HSVhsv(258, 74%, 73%)
CMYKcmyk(51.9%, 74.1%, 0%, 27.5%)
CIE-LABlab(33.44, 50.54, -65.54)
CIE-LCHlch(33.44, 82.77, 307.64°)
OKLaboklab(44.87% 0.0666 -0.1883)
OKLCHoklch(44.87% 0.2 289.5)
XYZxyz(13.9312, 7.7399, 46.6494)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930B9 #90B930
analogous
#304CB9 #5930B9 #9D30B9
triadic
#5930B9 #B95930 #30B959
tetradic
#5930B9 #B9304C #90B930 #30B99D
square
#5930B9 #B9304C #90B930 #30B99D
split-complementary
#5930B9 #B99D30 #4CB930
monochromatic
#2A1758 #422388 #5930B9 #7A54D3 #9F84DF

Accessibility & contrast

On white

8.24
#5930B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5930B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5930B9#FFFFFF#000000##FFFFFF
##5930B91.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#004BB6
Tritanopia (blue-blind)
#365572
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5930b9;
/* rgb */ color: rgb(89, 48, 185);
/* oklch */ color: oklch(44.9% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#926dcf',
    500: '#5930b9',
    950: '#000000',
  },
}
SCSS
$custom: #5930b9;
$custom-light: #926dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#5930b9",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 185
  },
  "hsl": {
    "h": 257.956,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4487,
    "c": 0.19974,
    "h": 289.5
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#5930B9
secondary
#B2C97C
accent
#E246B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5930B9

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

Preview Lab → · Contrast checker → · Palette generator →

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