#5929A2#5929A2

#5929A2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.181 H 295.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#5929A2
RGBrgb(89, 41, 162)
HSLhsl(264, 60%, 40%)
HSVhsv(264, 75%, 64%)
CMYKcmyk(45.1%, 74.7%, 0%, 36.5%)
CIE-LABlab(30.20, 47.67, -57.08)
CIE-LCHlch(30.20, 74.37, 309.87°)
OKLaboklab(41.97% 0.0782 -0.1635)
OKLCHoklch(41.97% 0.181 295.6)
XYZxyz(11.4326, 6.3181, 34.7926)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5929A2 #72A229
analogous
#2935A2 #5929A2 #9629A2
triadic
#5929A2 #A25929 #29A259
tetradic
#5929A2 #A22935 #72A229 #29A296
square
#5929A2 #A22935 #72A229 #29A296
split-complementary
#5929A2 #A29629 #35A229
monochromatic
#231040 #3E1D71 #5929A2 #753BCD #976CDA

Accessibility & contrast

On white

9.28
#5929A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5929A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5929A2
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5929A2#FFFFFF#000000##FFFFFF
##5929A21.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#454963
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5929a2;
/* rgb */ color: rgb(89, 41, 162);
/* oklch */ color: oklch(42.0% 0.181 295.6);
Tailwind
colors: {
  custom: {
    50: '#8f68be',
    500: '#5929a2',
    950: '#000000',
  },
}
SCSS
$custom: #5929a2;
$custom-light: #8f68be;
$custom-dark: #000000;
JSON
{
  "hex": "#5929a2",
  "rgb": {
    "r": 89,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 263.802,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41965,
    "c": 0.18118,
    "h": 295.6
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#5929A2
secondary
#9DC067
accent
#E345A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5929A2

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

Preview Lab → · Contrast checker → · Palette generator →

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