#5929AB#5929AB

#5929AB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.8% C 0.191 H 293.4°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#5929AB
RGBrgb(89, 41, 171)
HSLhsl(262, 61%, 42%)
HSVhsv(262, 76%, 67%)
CMYKcmyk(48%, 76%, 0%, 32.9%)
CIE-LABlab(31.00, 50.07, -61.20)
CIE-LCHlch(31.00, 79.08, 309.29°)
OKLaboklab(42.77% 0.0759 -0.1756)
OKLCHoklch(42.77% 0.191 293.4)
XYZxyz(12.2614, 6.6496, 39.1576)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5929AB #7BAB29
analogous
#293AAB #5929AB #9A29AB
triadic
#5929AB #AB5929 #29AB59
tetradic
#5929AB #AB293A #7BAB29 #29AB9A
square
#5929AB #AB293A #7BAB29 #29AB9A
split-complementary
#5929AB #AB9A29 #3AAB29
monochromatic
#261148 #3F1D7A #5929AB #7640D1 #9971DD

Accessibility & contrast

On white

9.01
#5929AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5929AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5929AB
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5929AB#FFFFFF#000000##FFFFFF
##5929AB1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#404C68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5929ab;
/* rgb */ color: rgb(89, 41, 171);
/* oklch */ color: oklch(42.8% 0.191 293.4);
Tailwind
colors: {
  custom: {
    50: '#9068c5',
    500: '#5929ab',
    950: '#000000',
  },
}
SCSS
$custom: #5929ab;
$custom-light: #9068c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5929ab",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 262.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.19125,
    "h": 293.4
  },
  "luminance": 0.0665
}

Semantic roles & 50–950 ramp

primary
#5929AB
secondary
#A3C46C
accent
#E443A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5929AB

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

Preview Lab → · Contrast checker → · Palette generator →

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