#5927A6#5927A6

#5927A6 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.188 H 294.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#5927A6
RGBrgb(89, 39, 166)
HSLhsl(264, 62%, 40%)
HSVhsv(264, 77%, 65%)
CMYKcmyk(46.4%, 76.5%, 0%, 34.9%)
CIE-LABlab(30.22, 49.67, -59.45)
CIE-LCHlch(30.22, 77.47, 309.88°)
OKLaboklab(42.09% 0.0789 -0.1704)
OKLCHoklch(42.09% 0.188 294.8)
XYZxyz(11.7264, 6.3277, 36.6725)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5927A6 #74A627
analogous
#2735A6 #5927A6 #9827A6
triadic
#5927A6 #A65927 #27A659
tetradic
#5927A6 #A62735 #74A627 #27A698
square
#5927A6 #A62735 #74A627 #27A698
split-complementary
#5927A6 #A69827 #35A627
monochromatic
#241043 #3E1B74 #5927A6 #753AD1 #986BDC

Accessibility & contrast

On white

9.27
#5927A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#5927A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5927A6
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5927A6#FFFFFF#000000##FFFFFF
##5927A61.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#434965
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #5927a6;
/* rgb */ color: rgb(89, 39, 166);
/* oklch */ color: oklch(42.1% 0.188 294.8);
Tailwind
colors: {
  custom: {
    50: '#9067c1',
    500: '#5927a6',
    950: '#000000',
  },
}
SCSS
$custom: #5927a6;
$custom-light: #9067c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5927a6",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 263.622,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.1878,
    "h": 294.8
  },
  "luminance": 0.06328
}

Semantic roles & 50–950 ramp

primary
#5927A6
secondary
#9EC366
accent
#E543A5
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #5927A6

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

Preview Lab → · Contrast checker → · Palette generator →

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