#5E36AF#5E36AF

#5E36AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.181 H 292.9°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#5E36AF
RGBrgb(94, 54, 175)
HSLhsl(260, 53%, 45%)
HSVhsv(260, 69%, 69%)
CMYKcmyk(46.3%, 69.1%, 0%, 31.4%)
CIE-LABlab(34.22, 45.52, -58.31)
CIE-LCHlch(34.22, 73.97, 307.98°)
OKLaboklab(45.29% 0.0705 -0.1669)
OKLCHoklch(45.29% 0.181 292.9)
XYZxyz(13.6710, 8.1127, 41.3947)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36AF #87AF36
analogous
#364AAF #5E36AF #9B36AF
triadic
#5E36AF #AF5E36 #36AF5E
tetradic
#5E36AF #AF364A #87AF36 #36AF9B
square
#5E36AF #AF364A #87AF36 #36AF9B
split-complementary
#5E36AF #AF9B36 #4AAF36
monochromatic
#2C1951 #452880 #5E36AF #7D57CB #A286DA

Accessibility & contrast

On white

8.01
#5E36AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#5E36AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36AF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36AF#FFFFFF#000000##FFFFFF
##5E36AF1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e36af;
/* rgb */ color: rgb(94, 54, 175);
/* oklch */ color: oklch(45.3% 0.181 292.9);
Tailwind
colors: {
  custom: {
    50: '#9370c8',
    500: '#5e36af',
    950: '#000000',
  },
}
SCSS
$custom: #5e36af;
$custom-light: #9370c8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36af",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 175
  },
  "hsl": {
    "h": 259.835,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.18121,
    "h": 292.9
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5E36AF

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

Preview Lab → · Contrast checker → · Palette generator →

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