#5930B5#5930B5

#5930B5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.195 H 290.2°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#5930B5
RGBrgb(89, 48, 181)
HSLhsl(258, 58%, 45%)
HSVhsv(258, 73%, 71%)
CMYKcmyk(50.8%, 73.5%, 0%, 29%)
CIE-LABlab(33.08, 49.43, -63.76)
CIE-LCHlch(33.08, 80.67, 307.79°)
OKLaboklab(44.51% 0.0675 -0.1831)
OKLCHoklch(44.51% 0.195 290.2)
XYZxyz(13.5149, 7.5734, 44.4568)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930B5 #8CB530
analogous
#304AB5 #5930B5 #9B30B5
triadic
#5930B5 #B55930 #30B559
tetradic
#5930B5 #B5304A #8CB530 #30B59B
square
#5930B5 #B5304A #8CB530 #30B59B
split-complementary
#5930B5 #B59B30 #4AB530
monochromatic
#291654 #412385 #5930B5 #7951D1 #9E82DE

Accessibility & contrast

On white

8.35
#5930B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#5930B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5930B5#FFFFFF#000000##FFFFFF
##5930B51.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#395470
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5930b5;
/* rgb */ color: rgb(89, 48, 181);
/* oklch */ color: oklch(44.5% 0.195 290.2);
Tailwind
colors: {
  custom: {
    50: '#916ccc',
    500: '#5930b5',
    950: '#000000',
  },
}
SCSS
$custom: #5930b5;
$custom-light: #916ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#5930b5",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 258.496,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44509,
    "c": 0.19515,
    "h": 290.2
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#5930B5
secondary
#AFC77A
accent
#E146B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5930B5

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

Preview Lab → · Contrast checker → · Palette generator →

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