#5930B2#5930B2

#5930B2 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.2% C 0.192 H 290.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#5930B2
RGBrgb(89, 48, 178)
HSLhsl(259, 58%, 44%)
HSVhsv(259, 73%, 70%)
CMYKcmyk(50%, 73%, 0%, 30.2%)
CIE-LABlab(32.81, 48.59, -62.41)
CIE-LCHlch(32.81, 79.09, 307.91°)
OKLaboklab(44.24% 0.0682 -0.1791)
OKLCHoklch(44.24% 0.192 290.8)
XYZxyz(13.2104, 7.4516, 42.8531)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930B2 #89B230
analogous
#3048B2 #5930B2 #9A30B2
triadic
#5930B2 #B25930 #30B259
tetradic
#5930B2 #B23048 #89B230 #30B29A
square
#5930B2 #B23048 #89B230 #30B29A
split-complementary
#5930B2 #B29A30 #48B230
monochromatic
#291652 #412382 #5930B2 #7850D0 #9D80DD

Accessibility & contrast

On white

8.43
#5930B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#5930B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930B2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930B2#FFFFFF#000000##FFFFFF
##5930B21.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#3B526E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #5930b2;
/* rgb */ color: rgb(89, 48, 178);
/* oklch */ color: oklch(44.2% 0.192 290.8);
Tailwind
colors: {
  custom: {
    50: '#916cca',
    500: '#5930b2',
    950: '#000000',
  },
}
SCSS
$custom: #5930b2;
$custom-light: #916cca;
$custom-dark: #000000;
JSON
{
  "hex": "#5930b2",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 258.923,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.19168,
    "h": 290.8
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#5930B2
secondary
#ADC678
accent
#E147B0
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5930B2

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

Preview Lab → · Contrast checker → · Palette generator →

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