#5929AC#5929AC

#5929AC is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.192 H 293.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#5929AC
RGBrgb(89, 41, 172)
HSLhsl(262, 62%, 42%)
HSVhsv(262, 76%, 67%)
CMYKcmyk(48.3%, 76.2%, 0%, 32.5%)
CIE-LABlab(31.09, 50.34, -61.65)
CIE-LCHlch(31.09, 79.59, 309.23°)
OKLaboklab(42.86% 0.0756 -0.1769)
OKLCHoklch(42.86% 0.192 293.1)
XYZxyz(12.3571, 6.6879, 39.6615)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5929AC #7CAC29
analogous
#293BAC #5929AC #9B29AC
triadic
#5929AC #AC5929 #29AC59
tetradic
#5929AC #AC293B #7CAC29 #29AC9B
square
#5929AC #AC293B #7CAC29 #29AC9B
split-complementary
#5929AC #AC9B29 #3BAC29
monochromatic
#261149 #3F1D7B #5929AC #7641D2 #9972DD

Accessibility & contrast

On white

8.98
#5929AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#5929AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5929AC
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5929AC#FFFFFF#000000##FFFFFF
##5929AC1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#3F4D69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5929ac;
/* rgb */ color: rgb(89, 41, 172);
/* oklch */ color: oklch(42.9% 0.192 293.1);
Tailwind
colors: {
  custom: {
    50: '#9068c6',
    500: '#5929ac',
    950: '#000000',
  },
}
SCSS
$custom: #5929ac;
$custom-light: #9068c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5929ac",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 261.985,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.19237,
    "h": 293.1
  },
  "luminance": 0.06688
}

Semantic roles & 50–950 ramp

primary
#5929AC
secondary
#A4C56C
accent
#E543A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5929AC

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

Preview Lab → · Contrast checker → · Palette generator →

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