#5C36AF#5C36AF

#5C36AF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.1% C 0.181 H 291.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#5C36AF
RGBrgb(92, 54, 175)
HSLhsl(259, 53%, 45%)
HSVhsv(259, 69%, 69%)
CMYKcmyk(47.4%, 69.1%, 0%, 31.4%)
CIE-LABlab(34.00, 45.16, -58.67)
CIE-LCHlch(34.00, 74.03, 307.59°)
OKLaboklab(45.08% 0.0676 -0.1681)
OKLCHoklch(45.08% 0.181 291.9)
XYZxyz(13.4685, 8.0083, 41.3852)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C36AF #89AF36
analogous
#364DAF #5C36AF #9836AF
triadic
#5C36AF #AF5C36 #36AF5C
tetradic
#5C36AF #AF364D #89AF36 #36AF98
square
#5C36AF #AF364D #89AF36 #36AF98
split-complementary
#5C36AF #AF9836 #4DAF36
monochromatic
#2B1951 #432880 #5C36AF #7C57CB #A086DA

Accessibility & contrast

On white

8.07
#5C36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#5C36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C36AF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C36AF#FFFFFF#000000##FFFFFF
##5C36AF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#004DAD
Tritanopia (blue-blind)
#42546E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5c36af;
/* rgb */ color: rgb(92, 54, 175);
/* oklch */ color: oklch(45.1% 0.181 291.9);
Tailwind
colors: {
  custom: {
    50: '#9170c8',
    500: '#5c36af',
    950: '#000000',
  },
}
SCSS
$custom: #5c36af;
$custom-light: #9170c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5c36af",
  "rgb": {
    "r": 92,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 258.843,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45081,
    "c": 0.18116,
    "h": 291.9
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5C36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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