#5C27A8#5C27A8

#5C27A8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.190 H 295.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#5C27A8
RGBrgb(92, 39, 168)
HSLhsl(265, 62%, 41%)
HSVhsv(265, 77%, 66%)
CMYKcmyk(45.2%, 76.8%, 0%, 34.1%)
CIE-LABlab(30.77, 50.67, -59.76)
CIE-LCHlch(30.77, 78.35, 310.30°)
OKLaboklab(42.61% 0.0829 -0.1712)
OKLCHoklch(42.61% 0.19 295.8)
XYZxyz(12.2051, 6.5532, 37.6600)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C27A8 #73A827
analogous
#2732A8 #5C27A8 #9C27A8
triadic
#5C27A8 #A85C27 #27A85C
tetradic
#5C27A8 #A82732 #73A827 #27A89C
square
#5C27A8 #A82732 #73A827 #27A89C
split-complementary
#5C27A8 #A89C27 #32A827
monochromatic
#261045 #411B76 #5C27A8 #793BD1 #9B6CDD

Accessibility & contrast

On white

9.09
#5C27A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#5C27A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C27A8
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C27A8#FFFFFF#000000##FFFFFF
##5C27A81.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0047A6
Tritanopia (blue-blind)
#474A66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #5c27a8;
/* rgb */ color: rgb(92, 39, 168);
/* oklch */ color: oklch(42.6% 0.190 295.8);
Tailwind
colors: {
  custom: {
    50: '#9267c3',
    500: '#5c27a8',
    950: '#000000',
  },
}
SCSS
$custom: #5c27a8;
$custom-light: #9267c3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c27a8",
  "rgb": {
    "r": 92,
    "g": 39,
    "b": 168
  },
  "hsl": {
    "h": 264.651,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42607,
    "c": 0.19022,
    "h": 295.8
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#5C27A8
secondary
#9EC367
accent
#E542A2
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #5C27A8

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

Preview Lab → · Contrast checker → · Palette generator →

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