#5C36AE#5C36AE

#5C36AE is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.180 H 292.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5C36AE
RGBrgb(92, 54, 174)
HSLhsl(259, 53%, 45%)
HSVhsv(259, 69%, 68%)
CMYKcmyk(47.1%, 69%, 0%, 31.8%)
CIE-LABlab(33.92, 44.87, -58.20)
CIE-LCHlch(33.92, 73.49, 307.63°)
OKLaboklab(45% 0.0678 -0.1667)
OKLCHoklch(45% 0.18 292.1)
XYZxyz(13.3707, 7.9692, 40.8699)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36AE #88AE36
analogous
#364CAE #5C36AE #9836AE
triadic
#5C36AE #AE5C36 #36AE5C
tetradic
#5C36AE #AE364C #88AE36 #36AE98
square
#5C36AE #AE364C #88AE36 #36AE98
split-complementary
#5C36AE #AE9836 #4CAE36
monochromatic
#2B1951 #43287F #5C36AE #7B56CB #A085D9

Accessibility & contrast

On white

8.10
#5C36AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5C36AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36AE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36AE#FFFFFF#000000##FFFFFF
##5C36AE1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#43546E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c36ae;
/* rgb */ color: rgb(92, 54, 174);
/* oklch */ color: oklch(45.0% 0.180 292.1);
Tailwind
colors: {
  custom: {
    50: '#9170c7',
    500: '#5c36ae',
    950: '#000000',
  },
}
SCSS
$custom: #5c36ae;
$custom-light: #9170c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36ae",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 259,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44997,
    "c": 0.17996,
    "h": 292.1
  },
  "luminance": 0.0797
}

Semantic roles & 50–950 ramp

primary
#5C36AE
secondary
#ADC37D
accent
#DC4CAE
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5C36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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