#5E27AE#5E27AE

#5E27AE is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.197 H 295.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#5E27AE
RGBrgb(94, 39, 174)
HSLhsl(264, 63%, 42%)
HSVhsv(264, 78%, 68%)
CMYKcmyk(46%, 77.6%, 0%, 31.8%)
CIE-LABlab(31.55, 52.54, -62.07)
CIE-LCHlch(31.55, 81.32, 310.24°)
OKLaboklab(43.37% 0.0843 -0.1779)
OKLCHoklch(43.37% 0.197 295.3)
XYZxyz(12.9795, 6.8864, 40.6815)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E27AE #77AE27
analogous
#2734AE #5E27AE #A127AE
triadic
#5E27AE #AE5E27 #27AE5E
tetradic
#5E27AE #AE2734 #77AE27 #27AEA1
square
#5E27AE #AE2734 #77AE27 #27AEA1
split-complementary
#5E27AE #AEA127 #34AE27
monochromatic
#28114A #431C7C #5E27AE #7B3ED4 #9D70DF

Accessibility & contrast

On white

8.83
#5E27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#5E27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E27AE
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E27AE#FFFFFF#000000##FFFFFF
##5E27AE1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#474C6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #5e27ae;
/* rgb */ color: rgb(94, 39, 174);
/* oklch */ color: oklch(43.4% 0.197 295.3);
Tailwind
colors: {
  custom: {
    50: '#9468c7',
    500: '#5e27ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e27ae;
$custom-light: #9468c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e27ae",
  "rgb": {
    "r": 94,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 264.444,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.19686,
    "h": 295.3
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#5E27AE
secondary
#A1C66B
accent
#E641A3
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5E27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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