#5930A7#5930A7

#5930A7 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.3% C 0.179 H 293.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#5930A7
RGBrgb(89, 48, 167)
HSLhsl(261, 55%, 42%)
HSVhsv(261, 71%, 65%)
CMYKcmyk(46.7%, 71.3%, 0%, 34.5%)
CIE-LABlab(31.87, 45.54, -57.37)
CIE-LCHlch(31.87, 73.25, 308.44°)
OKLaboklab(43.28% 0.0705 -0.1643)
OKLCHoklch(43.28% 0.179 293.2)
XYZxyz(12.1499, 7.0274, 37.2680)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930A7 #7EA730
analogous
#3043A7 #5930A7 #9530A7
triadic
#5930A7 #A75930 #30A759
tetradic
#5930A7 #A73043 #7EA730 #30A795
square
#5930A7 #A73043 #7EA730 #30A795
split-complementary
#5930A7 #A79530 #43A730
monochromatic
#261548 #402277 #5930A7 #7649CB #9A79D8

Accessibility & contrast

On white

8.73
#5930A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#5930A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930A7
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930A7#FFFFFF#000000##FFFFFF
##5930A71.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#424E68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #5930a7;
/* rgb */ color: rgb(89, 48, 167);
/* oklch */ color: oklch(43.3% 0.179 293.2);
Tailwind
colors: {
  custom: {
    50: '#8f6cc2',
    500: '#5930a7',
    950: '#000000',
  },
}
SCSS
$custom: #5930a7;
$custom-light: #8f6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#5930a7",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 167
  },
  "hsl": {
    "h": 260.672,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.17884,
    "h": 293.2
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#5930A7
secondary
#A6C172
accent
#DF49AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #5930A7

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

Preview Lab → · Contrast checker → · Palette generator →

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