#5930BD#5930BD

#5930BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.204 H 288.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5930BD
RGBrgb(89, 48, 189)
HSLhsl(257, 59%, 46%)
HSVhsv(257, 75%, 74%)
CMYKcmyk(52.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(33.80, 51.66, -67.31)
CIE-LCHlch(33.80, 84.84, 307.50°)
OKLaboklab(45.24% 0.0656 -0.1935)
OKLCHoklch(45.24% 0.204 288.7)
XYZxyz(14.3594, 7.9112, 48.9046)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930BD #94BD30
analogous
#304EBD #5930BD #A030BD
triadic
#5930BD #BD5930 #30BD59
tetradic
#5930BD #BD304E #94BD30 #30BDA0
square
#5930BD #BD304E #94BD30 #30BDA0
split-complementary
#5930BD #BDA030 #4EBD30
monochromatic
#2B175B #42248C #5930BD #7B56D4 #A187E0

Accessibility & contrast

On white

8.13
#5930BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5930BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930BD
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930BD#FFFFFF#000000##FFFFFF
##5930BD1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#325774
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5930bd;
/* rgb */ color: rgb(89, 48, 189);
/* oklch */ color: oklch(45.2% 0.204 288.7);
Tailwind
colors: {
  custom: {
    50: '#926dd2',
    500: '#5930bd',
    950: '#000000',
  },
}
SCSS
$custom: #5930bd;
$custom-light: #926dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5930bd",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 257.447,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.20431,
    "h": 288.7
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#5930BD
secondary
#B4CA7F
accent
#E345B5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5930BD

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

Preview Lab → · Contrast checker → · Palette generator →

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