#5930BC#5930BC

#5930BC is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.203 H 288.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#5930BC
RGBrgb(89, 48, 188)
HSLhsl(258, 59%, 46%)
HSVhsv(258, 74%, 74%)
CMYKcmyk(52.7%, 74.5%, 0%, 26.3%)
CIE-LABlab(33.71, 51.38, -66.87)
CIE-LCHlch(33.71, 84.33, 307.54°)
OKLaboklab(45.14% 0.0658 -0.1922)
OKLCHoklch(45.14% 0.203 288.9)
XYZxyz(14.2512, 7.8679, 48.3349)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930BC #93BC30
analogous
#304DBC #5930BC #9F30BC
triadic
#5930BC #BC5930 #30BC59
tetradic
#5930BC #BC304D #93BC30 #30BC9F
square
#5930BC #BC304D #93BC30 #30BC9F
split-complementary
#5930BC #BC9F30 #4DBC30
monochromatic
#2B175A #42248B #5930BC #7A55D4 #A186E0

Accessibility & contrast

On white

8.16
#5930BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5930BC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930BC#FFFFFF#000000##FFFFFF
##5930BC1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#335674
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5930bc;
/* rgb */ color: rgb(89, 48, 188);
/* oklch */ color: oklch(45.1% 0.203 288.9);
Tailwind
colors: {
  custom: {
    50: '#926dd1',
    500: '#5930bc',
    950: '#000000',
  },
}
SCSS
$custom: #5930bc;
$custom-light: #926dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#5930bc",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 257.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.20317,
    "h": 288.9
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#5930BC
secondary
#B4CA7E
accent
#E345B4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5930BC

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

Preview Lab → · Contrast checker → · Palette generator →

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