#5930AC#5930AC

#5930AC is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.7% C 0.185 H 292.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#5930AC
RGBrgb(89, 48, 172)
HSLhsl(260, 56%, 43%)
HSVhsv(260, 72%, 67%)
CMYKcmyk(48.3%, 72.1%, 0%, 32.5%)
CIE-LABlab(32.29, 46.93, -59.68)
CIE-LCHlch(32.29, 75.92, 308.18°)
OKLaboklab(43.71% 0.0695 -0.1711)
OKLCHoklch(43.71% 0.185 292.1)
XYZxyz(12.6211, 7.2159, 39.7495)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5930AC #83AC30
analogous
#3045AC #5930AC #9730AC
triadic
#5930AC #AC5930 #30AC59
tetradic
#5930AC #AC3045 #83AC30 #30AC97
square
#5930AC #AC3045 #83AC30 #30AC97
split-complementary
#5930AC #AC9730 #45AC30
monochromatic
#27154C #40237C #5930AC #774CCD #9B7CDA

Accessibility & contrast

On white

8.60
#5930AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#5930AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5930AC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5930AC#FFFFFF#000000##FFFFFF
##5930AC1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#3F506B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #5930ac;
/* rgb */ color: rgb(89, 48, 172);
/* oklch */ color: oklch(43.7% 0.185 292.1);
Tailwind
colors: {
  custom: {
    50: '#906cc6',
    500: '#5930ac',
    950: '#000000',
  },
}
SCSS
$custom: #5930ac;
$custom-light: #906cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#5930ac",
  "rgb": {
    "r": 89,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 259.839,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43711,
    "c": 0.1847,
    "h": 292.1
  },
  "luminance": 0.07216
}

Semantic roles & 50–950 ramp

primary
#5930AC
secondary
#A9C375
accent
#E048AE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #5930AC

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

Preview Lab → · Contrast checker → · Palette generator →

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