#5930BA#5930BA

#5930BA is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.201 H 289.3°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#5930BA
RGBrgb(89, 48, 186)
HSLhsl(258, 59%, 46%)
HSVhsv(258, 74%, 73%)
CMYKcmyk(52.2%, 74.2%, 0%, 27.1%)
CIE-LABlab(33.53, 50.82, -65.98)
CIE-LCHlch(33.53, 83.29, 307.60°)
OKLaboklab(44.96% 0.0663 -0.1896)
OKLCHoklch(44.96% 0.201 289.3)
XYZxyz(14.0371, 7.7823, 47.2073)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930BA #91BA30
analogous
#304CBA #5930BA #9E30BA
triadic
#5930BA #BA5930 #30BA59
tetradic
#5930BA #BA304C #91BA30 #30BA9E
square
#5930BA #BA304C #91BA30 #30BA9E
split-complementary
#5930BA #BA9E30 #4CBA30
monochromatic
#2A1759 #422389 #5930BA #7A54D3 #A085DF

Accessibility & contrast

On white

8.21
#5930BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#5930BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5930BA#FFFFFF#000000##FFFFFF
##5930BA1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#355673
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5930ba;
/* rgb */ color: rgb(89, 48, 186);
/* oklch */ color: oklch(45.0% 0.201 289.3);
Tailwind
colors: {
  custom: {
    50: '#926dd0',
    500: '#5930ba',
    950: '#000000',
  },
}
SCSS
$custom: #5930ba;
$custom-light: #926dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5930ba",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 257.826,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44961,
    "c": 0.20089,
    "h": 289.3
  },
  "luminance": 0.07783
}

Semantic roles & 50–950 ramp

primary
#5930BA
secondary
#B2C97D
accent
#E246B4
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5930BA

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

Preview Lab → · Contrast checker → · Palette generator →

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