#5929A6#5929A6

#5929A6 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.186 H 294.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#5929A6
RGBrgb(89, 41, 166)
HSLhsl(263, 60%, 41%)
HSVhsv(263, 75%, 65%)
CMYKcmyk(46.4%, 75.3%, 0%, 34.9%)
CIE-LABlab(30.55, 48.74, -58.92)
CIE-LCHlch(30.55, 76.47, 309.60°)
OKLaboklab(42.32% 0.0772 -0.1689)
OKLCHoklch(42.32% 0.186 294.6)
XYZxyz(11.7938, 6.4626, 36.6950)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5929A6 #76A629
analogous
#2938A6 #5929A6 #9729A6
triadic
#5929A6 #A65929 #29A659
tetradic
#5929A6 #A62938 #76A629 #29A697
square
#5929A6 #A62938 #76A629 #29A697
split-complementary
#5929A6 #A69729 #38A629
monochromatic
#241144 #3F1D75 #5929A6 #753DCF #986EDB

Accessibility & contrast

On white

9.16
#5929A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#5929A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5929A6
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5929A6#FFFFFF#000000##FFFFFF
##5929A61.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#434A66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5929a6;
/* rgb */ color: rgb(89, 41, 166);
/* oklch */ color: oklch(42.3% 0.186 294.6);
Tailwind
colors: {
  custom: {
    50: '#8f68c1',
    500: '#5929a6',
    950: '#000000',
  },
}
SCSS
$custom: #5929a6;
$custom-light: #8f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5929a6",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 263.04,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42319,
    "c": 0.18567,
    "h": 294.6
  },
  "luminance": 0.06463
}

Semantic roles & 50–950 ramp

primary
#5929A6
secondary
#A0C269
accent
#E444A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5929A6

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

Preview Lab → · Contrast checker → · Palette generator →

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