#5C27AE#5C27AE

#5C27AE is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.197 H 294.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#5C27AE
RGBrgb(92, 39, 174)
HSLhsl(264, 63%, 42%)
HSVhsv(264, 78%, 68%)
CMYKcmyk(47.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(31.31, 52.23, -62.48)
CIE-LCHlch(31.31, 81.43, 309.90°)
OKLaboklab(43.15% 0.0812 -0.1792)
OKLCHoklch(43.15% 0.197 294.4)
XYZxyz(12.7770, 6.7820, 40.6720)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C27AE #79AE27
analogous
#2735AE #5C27AE #A027AE
triadic
#5C27AE #AE5C27 #27AE5C
tetradic
#5C27AE #AE2735 #79AE27 #27AEA0
square
#5C27AE #AE2735 #79AE27 #27AEA0
split-complementary
#5C27AE #AEA027 #35AE27
monochromatic
#27114A #421C7C #5C27AE #793ED4 #9C70DF

Accessibility & contrast

On white

8.91
#5C27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#5C27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C27AE
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C27AE#FFFFFF#000000##FFFFFF
##5C27AE1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c27ae;
/* rgb */ color: rgb(92, 39, 174);
/* oklch */ color: oklch(43.1% 0.197 294.4);
Tailwind
colors: {
  custom: {
    50: '#9267c7',
    500: '#5c27ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c27ae;
$custom-light: #9267c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c27ae",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 263.556,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.19673,
    "h": 294.4
  },
  "luminance": 0.06782
}

Semantic roles & 50–950 ramp

primary
#5C27AE
secondary
#A2C66B
accent
#E641A6
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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