#5931DA#5931DA

#5931DA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.236 H 284.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5931DA
RGBrgb(89, 49, 218)
HSLhsl(254, 70%, 52%)
HSVhsv(254, 78%, 85%)
CMYKcmyk(59.2%, 77.5%, 0%, 14.5%)
CIE-LABlab(36.71, 59.24, -79.39)
CIE-LCHlch(36.71, 99.06, 306.73°)
OKLaboklab(48.1% 0.057 -0.2288)
OKLCHoklch(48.1% 0.236 284)
XYZxyz(17.8691, 9.3813, 67.1852)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5931DA #B2DA31
analogous
#315EDA #5931DA #AD31DA
triadic
#5931DA #DA5931 #31DA59
tetradic
#5931DA #DA315E #B2DA31 #31DAAD
square
#5931DA #DA315E #B2DA31 #31DAAD
split-complementary
#5931DA #DAAD31 #5EDA31
monochromatic
#2E167B #411FAE #5931DA #8365E3 #AD99ED

Accessibility & contrast

On white

7.30
#5931DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5931DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5931DA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5931DA#FFFFFF#000000##FFFFFF
##5931DA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDF
Deuteranopia (green-blind)
#0051D7
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5931da;
/* rgb */ color: rgb(89, 49, 218);
/* oklch */ color: oklch(48.1% 0.236 284.0);
Tailwind
colors: {
  custom: {
    50: '#976fe7',
    500: '#5931da',
    950: '#000000',
  },
}
SCSS
$custom: #5931da;
$custom-light: #976fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#5931da",
  "rgb": {
    "r": 89,
    "g": 49,
    "b": 218
  },
  "hsl": {
    "h": 254.201,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.23585,
    "h": 284
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#5931DA
secondary
#C7D88F
accent
#EC3BC2
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5931DA

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

Preview Lab → · Contrast checker → · Palette generator →

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