#5930BF#5930BF

#5930BF is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.207 H 288.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5930BF
RGBrgb(89, 48, 191)
HSLhsl(257, 60%, 47%)
HSVhsv(257, 75%, 75%)
CMYKcmyk(53.4%, 74.9%, 0%, 25.1%)
CIE-LABlab(33.98, 52.21, -68.19)
CIE-LCHlch(33.98, 85.88, 307.44°)
OKLaboklab(45.42% 0.0651 -0.1961)
OKLCHoklch(45.42% 0.207 288.4)
XYZxyz(14.5780, 7.9986, 50.0559)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930BF #96BF30
analogous
#304EBF #5930BF #A130BF
triadic
#5930BF #BF5930 #30BF59
tetradic
#5930BF #BF304E #96BF30 #30BFA1
square
#5930BF #BF304E #96BF30 #30BFA1
split-complementary
#5930BF #BFA130 #4EBF30
monochromatic
#2B175D #42248E #5930BF #7B57D5 #A288E1

Accessibility & contrast

On white

8.08
#5930BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5930BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930BF
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930BF#FFFFFF#000000##FFFFFF
##5930BF1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004CBC
Tritanopia (blue-blind)
#305875
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5930bf;
/* rgb */ color: rgb(89, 48, 191);
/* oklch */ color: oklch(45.4% 0.207 288.4);
Tailwind
colors: {
  custom: {
    50: '#926dd3',
    500: '#5930bf',
    950: '#000000',
  },
}
SCSS
$custom: #5930bf;
$custom-light: #926dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5930bf",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 257.203,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.20658,
    "h": 288.4
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#5930BF
secondary
#B5CB80
accent
#E345B6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5930BF

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

Preview Lab → · Contrast checker → · Palette generator →

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