#5927A5#5927A5

#5927A5 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.187 H 295.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#5927A5
RGBrgb(89, 39, 165)
HSLhsl(264, 62%, 40%)
HSVhsv(264, 76%, 65%)
CMYKcmyk(46.1%, 76.4%, 0%, 35.3%)
CIE-LABlab(30.14, 49.40, -59.00)
CIE-LCHlch(30.14, 76.95, 309.94°)
OKLaboklab(42% 0.0792 -0.1691)
OKLCHoklch(42% 0.187 295.1)
XYZxyz(11.6350, 6.2912, 36.1913)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5927A5 #73A527
analogous
#2734A5 #5927A5 #9827A5
triadic
#5927A5 #A55927 #27A559
tetradic
#5927A5 #A52734 #73A527 #27A598
square
#5927A5 #A52734 #73A527 #27A598
split-complementary
#5927A5 #A59827 #34A527
monochromatic
#241042 #3E1B74 #5927A5 #7539D0 #986ADC

Accessibility & contrast

On white

9.30
#5927A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#5927A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5927A5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5927A5#FFFFFF#000000##FFFFFF
##5927A51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5927a5;
/* rgb */ color: rgb(89, 39, 165);
/* oklch */ color: oklch(42.0% 0.187 295.1);
Tailwind
colors: {
  custom: {
    50: '#8f67c1',
    500: '#5927a5',
    950: '#000000',
  },
}
SCSS
$custom: #5927a5;
$custom-light: #8f67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#5927a5",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 263.81,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.42,
    "c": 0.1867,
    "h": 295.1
  },
  "luminance": 0.06291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5927A5

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

Preview Lab → · Contrast checker → · Palette generator →

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