#5927AF#5927AF

#5927AF is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.198 H 292.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#5927AF
RGBrgb(89, 39, 175)
HSLhsl(262, 64%, 42%)
HSVhsv(262, 78%, 69%)
CMYKcmyk(49.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(31.04, 52.05, -63.52)
CIE-LCHlch(31.04, 82.12, 309.33°)
OKLaboklab(42.91% 0.0764 -0.1823)
OKLCHoklch(42.91% 0.198 292.7)
XYZxyz(12.5810, 6.6696, 41.1736)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5927AF #7DAF27
analogous
#2739AF #5927AF #9D27AF
triadic
#5927AF #AF5927 #27AF59
tetradic
#5927AF #AF2739 #7DAF27 #27AF9D
square
#5927AF #AF2739 #7DAF27 #27AF9D
split-complementary
#5927AF #AF9D27 #39AF27
monochromatic
#26114B #401C7D #5927AF #763FD4 #9A71DF

Accessibility & contrast

On white

9.00
#5927AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5927AF
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5927AF#FFFFFF#000000##FFFFFF
##5927AF1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#3D4D6A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5927af;
/* rgb */ color: rgb(89, 39, 175);
/* oklch */ color: oklch(42.9% 0.198 292.7);
Tailwind
colors: {
  custom: {
    50: '#9167c8',
    500: '#5927af',
    950: '#000000',
  },
}
SCSS
$custom: #5927af;
$custom-light: #9167c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5927af",
  "rgb": {
    "r": 89,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 262.059,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42913,
    "c": 0.19769,
    "h": 292.7
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#5927AF
secondary
#A5C66B
accent
#E741AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5927AF

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

Preview Lab → · Contrast checker → · Palette generator →

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