#5927AE#5927AE

#5927AE is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.197 H 293.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5927AE
RGBrgb(89, 39, 174)
HSLhsl(262, 63%, 42%)
HSVhsv(262, 78%, 68%)
CMYKcmyk(48.9%, 77.6%, 0%, 31.8%)
CIE-LABlab(30.95, 51.78, -63.07)
CIE-LCHlch(30.95, 81.61, 309.39°)
OKLaboklab(42.82% 0.0767 -0.181)
OKLCHoklch(42.82% 0.197 293)
XYZxyz(12.4832, 6.6305, 40.6583)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5927AE #7CAE27
analogous
#2739AE #5927AE #9D27AE
triadic
#5927AE #AE5927 #27AE59
tetradic
#5927AE #AE2739 #7CAE27 #27AE9D
square
#5927AE #AE2739 #7CAE27 #27AE9D
split-complementary
#5927AE #AE9D27 #39AE27
monochromatic
#26114A #3F1C7C #5927AE #763ED4 #9970DF

Accessibility & contrast

On white

9.03
#5927AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5927AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5927AE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5927AE#FFFFFF#000000##FFFFFF
##5927AE1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#0046AB
Tritanopia (blue-blind)
#3E4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5927ae;
/* rgb */ color: rgb(89, 39, 174);
/* oklch */ color: oklch(42.8% 0.197 293.0);
Tailwind
colors: {
  custom: {
    50: '#9167c7',
    500: '#5927ae',
    950: '#000000',
  },
}
SCSS
$custom: #5927ae;
$custom-light: #9167c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5927ae",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 262.222,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4282,
    "c": 0.1966,
    "h": 293
  },
  "luminance": 0.06631
}

Semantic roles & 50–950 ramp

primary
#5927AE
secondary
#A4C66B
accent
#E641A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5927AE

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

Preview Lab → · Contrast checker → · Palette generator →

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