#5927A2#5927A2

#5927A2 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.183 H 295.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#5927A2
RGBrgb(89, 39, 162)
HSLhsl(264, 61%, 39%)
HSVhsv(264, 76%, 64%)
CMYKcmyk(45.1%, 75.9%, 0%, 36.5%)
CIE-LABlab(29.87, 48.61, -57.62)
CIE-LCHlch(29.87, 75.39, 310.16°)
OKLaboklab(41.73% 0.0799 -0.165)
OKLCHoklch(41.73% 0.183 295.8)
XYZxyz(11.3652, 6.1832, 34.7701)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5927A2 #70A227
analogous
#2733A2 #5927A2 #9727A2
triadic
#5927A2 #A25927 #27A259
tetradic
#5927A2 #A22733 #70A227 #27A297
square
#5927A2 #A22733 #70A227 #27A297
split-complementary
#5927A2 #A29727 #33A227
monochromatic
#230F3F #3E1B71 #5927A2 #7537CF #9769DB

Accessibility & contrast

On white

9.39
#5927A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#5927A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5927A2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5927A2#FFFFFF#000000##FFFFFF
##5927A21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#454863
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #5927a2;
/* rgb */ color: rgb(89, 39, 162);
/* oklch */ color: oklch(41.7% 0.183 295.8);
Tailwind
colors: {
  custom: {
    50: '#8f67bf',
    500: '#5927a2',
    950: '#000000',
  },
}
SCSS
$custom: #5927a2;
$custom-light: #8f67bf;
$custom-dark: #000000;
JSON
{
  "hex": "#5927a2",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 264.39,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41732,
    "c": 0.18338,
    "h": 295.8
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#5927A2
secondary
#9BC164
accent
#E443A3
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5927A2

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

Preview Lab → · Contrast checker → · Palette generator →

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