#5927A8#5927A8

#5927A8 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.190 H 294.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#5927A8
RGBrgb(89, 39, 168)
HSLhsl(263, 62%, 41%)
HSVhsv(263, 77%, 66%)
CMYKcmyk(47%, 76.8%, 0%, 34.1%)
CIE-LABlab(30.40, 50.20, -60.37)
CIE-LCHlch(30.40, 78.51, 309.74°)
OKLaboklab(42.27% 0.0784 -0.1731)
OKLCHoklch(42.27% 0.19 294.4)
XYZxyz(11.9113, 6.4017, 37.6463)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5927A8 #76A827
analogous
#2735A8 #5927A8 #9927A8
triadic
#5927A8 #A85927 #27A859
tetradic
#5927A8 #A82735 #76A827 #27A899
square
#5927A8 #A82735 #76A827 #27A899
split-complementary
#5927A8 #A89927 #35A827
monochromatic
#241045 #3F1B76 #5927A8 #753BD1 #986CDD

Accessibility & contrast

On white

9.21
#5927A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#5927A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5927A8
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5927A8#FFFFFF#000000##FFFFFF
##5927A81.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#424A66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5927a8;
/* rgb */ color: rgb(89, 39, 168);
/* oklch */ color: oklch(42.3% 0.190 294.4);
Tailwind
colors: {
  custom: {
    50: '#9067c3',
    500: '#5927a8',
    950: '#000000',
  },
}
SCSS
$custom: #5927a8;
$custom-light: #9067c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5927a8",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 263.256,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42271,
    "c": 0.19,
    "h": 294.4
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#5927A8
secondary
#A0C367
accent
#E542A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #5927A8

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

Preview Lab → · Contrast checker → · Palette generator →

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