#5931D0#5931D0

#5931D0 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.225 H 285.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#5931D0
RGBrgb(89, 49, 208)
HSLhsl(255, 63%, 50%)
HSVhsv(255, 76%, 82%)
CMYKcmyk(57.2%, 76.4%, 0%, 18.4%)
CIE-LABlab(35.74, 56.47, -75.22)
CIE-LCHlch(35.74, 94.06, 306.90°)
OKLaboklab(47.14% 0.0598 -0.2166)
OKLCHoklch(47.14% 0.225 285.4)
XYZxyz(16.5999, 8.8735, 60.5003)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931D0 #A8D031
analogous
#3159D0 #5931D0 #A831D0
triadic
#5931D0 #D05931 #31D059
tetradic
#5931D0 #D03159 #A8D031 #31D0A8
square
#5931D0 #D03159 #A8D031 #31D0A8
split-complementary
#5931D0 #D0A831 #59D031
monochromatic
#2E196E #43249F #5931D0 #8163DB #A995E7

Accessibility & contrast

On white

7.57
#5931D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5931D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5931D0
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5931D0#FFFFFF#000000##FFFFFF
##5931D01.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D4
Deuteranopia (green-blind)
#004FCD
Tritanopia (blue-blind)
#1A5F7F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5931d0;
/* rgb */ color: rgb(89, 49, 208);
/* oklch */ color: oklch(47.1% 0.225 285.4);
Tailwind
colors: {
  custom: {
    50: '#956ee0',
    500: '#5931d0',
    950: '#000000',
  },
}
SCSS
$custom: #5931d0;
$custom-light: #956ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#5931d0",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 208
  },
  "hsl": {
    "h": 255.094,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47136,
    "c": 0.22476,
    "h": 285.4
  },
  "luminance": 0.08875
}

Semantic roles & 50–950 ramp

primary
#5931D0
secondary
#C0D28B
accent
#E642BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5931D0

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

Preview Lab → · Contrast checker → · Palette generator →

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