#5930C3#5930C3

#5930C3 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.8% C 0.211 H 287.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#5930C3
RGBrgb(89, 48, 195)
HSLhsl(257, 60%, 48%)
HSVhsv(257, 75%, 76%)
CMYKcmyk(54.4%, 75.4%, 0%, 23.5%)
CIE-LABlab(34.35, 53.33, -69.93)
CIE-LCHlch(34.35, 87.94, 307.33°)
OKLaboklab(45.79% 0.064 -0.2012)
OKLCHoklch(45.79% 0.211 287.7)
XYZxyz(15.0242, 8.1771, 52.4059)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930C3 #9AC330
analogous
#3050C3 #5930C3 #A330C3
triadic
#5930C3 #C35930 #30C359
tetradic
#5930C3 #C33050 #9AC330 #30C3A3
square
#5930C3 #C33050 #9AC330 #30C3A3
split-complementary
#5930C3 #C3A330 #50C330
monochromatic
#2C1861 #432492 #5930C3 #7D5AD6 #A38BE2

Accessibility & contrast

On white

7.97
#5930C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#5930C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930C3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930C3#FFFFFF#000000##FFFFFF
##5930C31.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004DC0
Tritanopia (blue-blind)
#2C5978
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5930c3;
/* rgb */ color: rgb(89, 48, 195);
/* oklch */ color: oklch(45.8% 0.211 287.7);
Tailwind
colors: {
  custom: {
    50: '#936dd6',
    500: '#5930c3',
    950: '#000000',
  },
}
SCSS
$custom: #5930c3;
$custom-light: #936dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#5930c3",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 256.735,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.21112,
    "h": 287.7
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#5930C3
secondary
#B8CC82
accent
#E444B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5930C3

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

Preview Lab → · Contrast checker → · Palette generator →

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