#5930BB#5930BB

#5930BB is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.202 H 289.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#5930BB
RGBrgb(89, 48, 187)
HSLhsl(258, 59%, 46%)
HSVhsv(258, 74%, 73%)
CMYKcmyk(52.4%, 74.3%, 0%, 26.7%)
CIE-LABlab(33.62, 51.10, -66.43)
CIE-LCHlch(33.62, 83.81, 307.57°)
OKLaboklab(45.05% 0.0661 -0.1909)
OKLCHoklch(45.05% 0.202 289.1)
XYZxyz(14.1438, 7.8250, 47.7692)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930BB #92BB30
analogous
#304CBB #5930BB #9E30BB
triadic
#5930BB #BB5930 #30BB59
tetradic
#5930BB #BB304C #92BB30 #30BB9E
square
#5930BB #BB304C #92BB30 #30BB9E
split-complementary
#5930BB #BB9E30 #4CBB30
monochromatic
#2B175A #42238A #5930BB #7A55D3 #A086E0

Accessibility & contrast

On white

8.19
#5930BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#5930BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##5930BB#FFFFFF#000000##FFFFFF
##5930BB1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#345673
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5930bb;
/* rgb */ color: rgb(89, 48, 187);
/* oklch */ color: oklch(45.1% 0.202 289.1);
Tailwind
colors: {
  custom: {
    50: '#926dd1',
    500: '#5930bb',
    950: '#000000',
  },
}
SCSS
$custom: #5930bb;
$custom-light: #926dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5930bb",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 257.698,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.20203,
    "h": 289.1
  },
  "luminance": 0.07826
}

Semantic roles & 50–950 ramp

primary
#5930BB
secondary
#B3C97D
accent
#E245B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5930BB

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

Preview Lab → · Contrast checker → · Palette generator →

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