#5D36AE#5D36AE

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

Color values

HEX#5D36AE
RGBrgb(93, 54, 174)
HSLhsl(260, 53%, 45%)
HSVhsv(260, 69%, 68%)
CMYKcmyk(46.6%, 69%, 0%, 31.8%)
CIE-LABlab(34.03, 45.06, -58.02)
CIE-LCHlch(34.03, 73.46, 307.83°)
OKLaboklab(45.1% 0.0692 -0.1662)
OKLCHoklch(45.1% 0.18 292.6)
XYZxyz(13.4712, 8.0210, 40.8746)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D36AE #87AE36
analogous
#364BAE #5D36AE #9936AE
triadic
#5D36AE #AE5D36 #36AE5D
tetradic
#5D36AE #AE364B #87AE36 #36AE99
square
#5D36AE #AE364B #87AE36 #36AE99
split-complementary
#5D36AE #AE9936 #4BAE36
monochromatic
#2B1951 #44287F #5D36AE #7C56CB #A185D9

Accessibility & contrast

On white

8.06
#5D36AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D36AE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D36AE#FFFFFF#000000##FFFFFF
##5D36AE1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#45546E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5d36ae;
/* rgb */ color: rgb(93, 54, 174);
/* oklch */ color: oklch(45.1% 0.180 292.6);
Tailwind
colors: {
  custom: {
    50: '#9270c7',
    500: '#5d36ae',
    950: '#000000',
  },
}
SCSS
$custom: #5d36ae;
$custom-light: #9270c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d36ae",
  "rgb": {
    "r": 93,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 259.5,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.451,
    "c": 0.17999,
    "h": 292.6
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#5D36AE
secondary
#ACC37D
accent
#DC4CAD
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5D36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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