#5C27AA#5C27AA

#5C27AA is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.192 H 295.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#5C27AA
RGBrgb(92, 39, 170)
HSLhsl(264, 63%, 41%)
HSVhsv(264, 77%, 67%)
CMYKcmyk(45.9%, 77.1%, 0%, 33.3%)
CIE-LABlab(30.95, 51.19, -60.67)
CIE-LCHlch(30.95, 79.38, 310.16°)
OKLaboklab(42.79% 0.0824 -0.1739)
OKLCHoklch(42.79% 0.192 295.3)
XYZxyz(12.3929, 6.6283, 38.6489)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C27AA #75AA27
analogous
#2733AA #5C27AA #9D27AA
triadic
#5C27AA #AA5C27 #27AA5C
tetradic
#5C27AA #AA2733 #75AA27 #27AA9D
square
#5C27AA #AA2733 #75AA27 #27AA9D
split-complementary
#5C27AA #AA9D27 #33AA27
monochromatic
#261046 #411C78 #5C27AA #793CD2 #9B6EDE

Accessibility & contrast

On white

9.03
#5C27AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#5C27AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C27AA
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C27AA#FFFFFF#000000##FFFFFF
##5C27AA1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c27aa;
/* rgb */ color: rgb(92, 39, 170);
/* oklch */ color: oklch(42.8% 0.192 295.3);
Tailwind
colors: {
  custom: {
    50: '#9267c4',
    500: '#5c27aa',
    950: '#000000',
  },
}
SCSS
$custom: #5c27aa;
$custom-light: #9267c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5c27aa",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 264.275,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.19239,
    "h": 295.3
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#5C27AA
secondary
#9FC469
accent
#E642A4
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C27AA

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

Preview Lab → · Contrast checker → · Palette generator →

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