#5930A2#5930A2

#5930A2 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.9% C 0.173 H 294.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#5930A2
RGBrgb(89, 48, 162)
HSLhsl(262, 54%, 41%)
HSVhsv(262, 70%, 64%)
CMYKcmyk(45.1%, 70.4%, 0%, 36.5%)
CIE-LABlab(31.45, 44.16, -55.03)
CIE-LCHlch(31.45, 70.56, 308.74°)
OKLaboklab(42.85% 0.0715 -0.1575)
OKLCHoklch(42.85% 0.173 294.4)
XYZxyz(11.6966, 6.8461, 34.8806)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930A2 #79A230
analogous
#3040A2 #5930A2 #9230A2
triadic
#5930A2 #A25930 #30A259
tetradic
#5930A2 #A23040 #79A230 #30A292
square
#5930A2 #A23040 #79A230 #30A292
split-complementary
#5930A2 #A29230 #40A230
monochromatic
#251444 #3F2273 #5930A2 #7547C8 #9976D6

Accessibility & contrast

On white

8.86
#5930A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#5930A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930A2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930A2#FFFFFF#000000##FFFFFF
##5930A21.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0048A0
Tritanopia (blue-blind)
#444C65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5930a2;
/* rgb */ color: rgb(89, 48, 162);
/* oklch */ color: oklch(42.9% 0.173 294.4);
Tailwind
colors: {
  custom: {
    50: '#8e6cbe',
    500: '#5930a2',
    950: '#000000',
  },
}
SCSS
$custom: #5930a2;
$custom-light: #8e6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#5930a2",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 261.579,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.17293,
    "h": 294.4
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#5930A2
secondary
#A2BE6F
accent
#DE4AA9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5930A2

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

Preview Lab → · Contrast checker → · Palette generator →

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