#5930D1#5930D1

#5930D1 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.227 H 285.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5930D1
RGBrgb(89, 48, 209)
HSLhsl(255, 64%, 50%)
HSVhsv(255, 77%, 82%)
CMYKcmyk(57.4%, 77%, 0%, 18%)
CIE-LABlab(35.67, 57.21, -75.90)
CIE-LCHlch(35.67, 95.05, 307.01°)
OKLaboklab(47.12% 0.0602 -0.2186)
OKLCHoklch(47.12% 0.227 285.4)
XYZxyz(16.6819, 8.8402, 61.1365)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930D1 #A8D130
analogous
#3057D1 #5930D1 #AA30D1
triadic
#5930D1 #D15930 #30D159
tetradic
#5930D1 #D13057 #A8D130 #30D1AA
square
#5930D1 #D13057 #A8D130 #30D1AA
split-complementary
#5930D1 #D1AA30 #57D130
monochromatic
#2E186E #4324A0 #5930D1 #8162DC #A994E7

Accessibility & contrast

On white

7.59
#5930D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5930D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930D1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930D1#FFFFFF#000000##FFFFFF
##5930D11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D6
Deuteranopia (green-blind)
#004FCE
Tritanopia (blue-blind)
#185F80
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5930d1;
/* rgb */ color: rgb(89, 48, 209);
/* oklch */ color: oklch(47.1% 0.227 285.4);
Tailwind
colors: {
  custom: {
    50: '#956ee0',
    500: '#5930d1',
    950: '#000000',
  },
}
SCSS
$custom: #5930d1;
$custom-light: #956ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#5930d1",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 209
  },
  "hsl": {
    "h": 255.28,
    "s": 63.636,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47119,
    "c": 0.22679,
    "h": 285.4
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#5930D1
secondary
#C0D28A
accent
#E741BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0F0715
muted
#7E7A83

Preview Lab

Preview with #5930D1

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

Preview Lab → · Contrast checker → · Palette generator →

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