#5E36AE#5E36AE

#5E36AE is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.2% C 0.180 H 293.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#5E36AE
RGBrgb(94, 54, 174)
HSLhsl(260, 53%, 45%)
HSVhsv(260, 69%, 68%)
CMYKcmyk(46%, 69%, 0%, 31.8%)
CIE-LABlab(34.14, 45.24, -57.84)
CIE-LCHlch(34.14, 73.43, 308.03°)
OKLaboklab(45.2% 0.0706 -0.1656)
OKLCHoklch(45.2% 0.18 293.1)
XYZxyz(13.5731, 8.0736, 40.8794)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36AE #86AE36
analogous
#364AAE #5E36AE #9A36AE
triadic
#5E36AE #AE5E36 #36AE5E
tetradic
#5E36AE #AE364A #86AE36 #36AE9A
square
#5E36AE #AE364A #86AE36 #36AE9A
split-complementary
#5E36AE #AE9A36 #4AAE36
monochromatic
#2C1951 #45287F #5E36AE #7D56CB #A185D9

Accessibility & contrast

On white

8.03
#5E36AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#5E36AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36AE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36AE#FFFFFF#000000##FFFFFF
##5E36AE1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e36ae;
/* rgb */ color: rgb(94, 54, 174);
/* oklch */ color: oklch(45.2% 0.180 293.1);
Tailwind
colors: {
  custom: {
    50: '#9370c7',
    500: '#5e36ae',
    950: '#000000',
  },
}
SCSS
$custom: #5e36ae;
$custom-light: #9370c7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36ae",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 174
  },
  "hsl": {
    "h": 260,
    "s": 52.632,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45203,
    "c": 0.18003,
    "h": 293.1
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E36AE

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

Preview Lab → · Contrast checker → · Palette generator →

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