#5931C0#5931C0

#5931C0 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.207 H 288.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#5931C0
RGBrgb(89, 49, 192)
HSLhsl(257, 59%, 47%)
HSVhsv(257, 74%, 75%)
CMYKcmyk(53.6%, 74.5%, 0%, 24.7%)
CIE-LABlab(34.24, 52.00, -68.34)
CIE-LCHlch(34.24, 85.88, 307.27°)
OKLaboklab(45.63% 0.064 -0.1965)
OKLCHoklch(45.63% 0.207 288)
XYZxyz(14.7298, 8.1255, 50.6512)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931C0 #98C031
analogous
#3151C0 #5931C0 #A031C0
triadic
#5931C0 #C05931 #31C059
tetradic
#5931C0 #C03151 #98C031 #31C0A0
square
#5931C0 #C03151 #98C031 #31C0A0
split-complementary
#5931C0 #C0A031 #51C031
monochromatic
#2C185E #42258F #5931C0 #7C59D5 #A38AE1

Accessibility & contrast

On white

8.00
#5931C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#5931C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5931C0
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5931C0#FFFFFF#000000##FFFFFF
##5931C01.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#2F5876
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5931c0;
/* rgb */ color: rgb(89, 49, 192);
/* oklch */ color: oklch(45.6% 0.207 288.0);
Tailwind
colors: {
  custom: {
    50: '#936dd4',
    500: '#5931c0',
    950: '#000000',
  },
}
SCSS
$custom: #5931c0;
$custom-light: #936dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#5931c0",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 192
  },
  "hsl": {
    "h": 256.783,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.20671,
    "h": 288
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

primary
#5931C0
secondary
#B7CB82
accent
#E345B7
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5931C0

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

Preview Lab → · Contrast checker → · Palette generator →

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