#5930B7#5930B7

#5930B7 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.7% C 0.197 H 289.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#5930B7
RGBrgb(89, 48, 183)
HSLhsl(258, 58%, 45%)
HSVhsv(258, 74%, 72%)
CMYKcmyk(51.4%, 73.8%, 0%, 28.2%)
CIE-LABlab(33.26, 49.99, -64.65)
CIE-LCHlch(33.26, 81.72, 307.71°)
OKLaboklab(44.69% 0.067 -0.1857)
OKLCHoklch(44.69% 0.197 289.8)
XYZxyz(13.7216, 7.6561, 45.5453)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930B7 #8EB730
analogous
#304AB7 #5930B7 #9C30B7
triadic
#5930B7 #B75930 #30B759
tetradic
#5930B7 #B7304A #8EB730 #30B79C
square
#5930B7 #B7304A #8EB730 #30B79C
split-complementary
#5930B7 #B79C30 #4AB730
monochromatic
#2A1756 #412387 #5930B7 #7952D2 #9F83DE

Accessibility & contrast

On white

8.30
#5930B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#5930B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5930B7#FFFFFF#000000##FFFFFF
##5930B71.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#004BB4
Tritanopia (blue-blind)
#375471
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #5930b7;
/* rgb */ color: rgb(89, 48, 183);
/* oklch */ color: oklch(44.7% 0.197 289.8);
Tailwind
colors: {
  custom: {
    50: '#916cce',
    500: '#5930b7',
    950: '#000000',
  },
}
SCSS
$custom: #5930b7;
$custom-light: #916cce;
$custom-dark: #000000;
JSON
{
  "hex": "#5930b7",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 258.222,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44689,
    "c": 0.19745,
    "h": 289.8
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#5930B7
secondary
#B0C87B
accent
#E246B2
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5930B7

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

Preview Lab → · Contrast checker → · Palette generator →

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