#5E27AA#5E27AA

#5E27AA is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.193 H 296.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#5E27AA
RGBrgb(94, 39, 170)
HSLhsl(265, 63%, 41%)
HSVhsv(265, 77%, 67%)
CMYKcmyk(44.7%, 77.1%, 0%, 33.3%)
CIE-LABlab(31.19, 51.51, -60.26)
CIE-LCHlch(31.19, 79.27, 310.52°)
OKLaboklab(43.01% 0.0854 -0.1726)
OKLCHoklch(43.01% 0.193 296.3)
XYZxyz(12.5954, 6.7327, 38.6583)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E27AA #73AA27
analogous
#2731AA #5E27AA #9F27AA
triadic
#5E27AA #AA5E27 #27AA5E
tetradic
#5E27AA #AA2731 #73AA27 #27AA9F
square
#5E27AA #AA2731 #73AA27 #27AA9F
split-complementary
#5E27AA #AA9F27 #31AA27
monochromatic
#271046 #421C78 #5E27AA #7B3CD2 #9D6EDE

Accessibility & contrast

On white

8.95
#5E27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#5E27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E27AA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E27AA#FFFFFF#000000##FFFFFF
##5E27AA1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#494B67
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #5e27aa;
/* rgb */ color: rgb(94, 39, 170);
/* oklch */ color: oklch(43.0% 0.193 296.3);
Tailwind
colors: {
  custom: {
    50: '#9367c4',
    500: '#5e27aa',
    950: '#000000',
  },
}
SCSS
$custom: #5e27aa;
$custom-light: #9367c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e27aa",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 265.191,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43013,
    "c": 0.19256,
    "h": 296.3
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#5E27AA
secondary
#9EC469
accent
#E642A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E27AA

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

Preview Lab → · Contrast checker → · Palette generator →

#5E27AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva