#5930C0#5930C0

#5930C0 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.5% C 0.208 H 288.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5930C0
RGBrgb(89, 48, 192)
HSLhsl(257, 60%, 47%)
HSVhsv(257, 75%, 75%)
CMYKcmyk(53.6%, 75%, 0%, 24.7%)
CIE-LABlab(34.07, 52.49, -68.62)
CIE-LCHlch(34.07, 86.40, 307.41°)
OKLaboklab(45.51% 0.0648 -0.1973)
OKLCHoklch(45.51% 0.208 288.2)
XYZxyz(14.6884, 8.0428, 50.6374)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930C0 #97C030
analogous
#304FC0 #5930C0 #A130C0
triadic
#5930C0 #C05930 #30C059
tetradic
#5930C0 #C0304F #97C030 #30C0A1
square
#5930C0 #C0304F #97C030 #30C0A1
split-complementary
#5930C0 #C0A130 #4FC030
monochromatic
#2C185E #42248F #5930C0 #7C58D5 #A289E1

Accessibility & contrast

On white

8.05
#5930C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5930C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930C0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930C0#FFFFFF#000000##FFFFFF
##5930C01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#004CBD
Tritanopia (blue-blind)
#2F5876
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5930c0;
/* rgb */ color: rgb(89, 48, 192);
/* oklch */ color: oklch(45.5% 0.208 288.2);
Tailwind
colors: {
  custom: {
    50: '#936dd4',
    500: '#5930c0',
    950: '#000000',
  },
}
SCSS
$custom: #5930c0;
$custom-light: #936dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5930c0",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 257.083,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45512,
    "c": 0.20772,
    "h": 288.2
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5930C0

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

Preview Lab → · Contrast checker → · Palette generator →

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