#5E36AC#5E36AC

#5E36AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.178 H 293.5°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#5E36AC
RGBrgb(94, 54, 172)
HSLhsl(260, 52%, 44%)
HSVhsv(260, 69%, 67%)
CMYKcmyk(45.3%, 68.6%, 0%, 32.5%)
CIE-LABlab(33.98, 44.69, -56.91)
CIE-LCHlch(33.98, 72.36, 308.14°)
OKLaboklab(45.04% 0.071 -0.1628)
OKLCHoklch(45.04% 0.178 293.5)
XYZxyz(13.3796, 7.9962, 39.8602)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36AC #84AC36
analogous
#3649AC #5E36AC #9936AC
triadic
#5E36AC #AC5E36 #36AC5E
tetradic
#5E36AC #AC3649 #84AC36 #36AC99
square
#5E36AC #AC3649 #84AC36 #36AC99
split-complementary
#5E36AC #AC9936 #49AC36
monochromatic
#2B194F #45277D #5E36AC #7D55CA #A184D8

Accessibility & contrast

On white

8.08
#5E36AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E36AC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36AC#FFFFFF#000000##FFFFFF
##5E36AC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#48536C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e36ac;
/* rgb */ color: rgb(94, 54, 172);
/* oklch */ color: oklch(45.0% 0.178 293.5);
Tailwind
colors: {
  custom: {
    50: '#9270c6',
    500: '#5e36ac',
    950: '#000000',
  },
}
SCSS
$custom: #5e36ac;
$custom-light: #9270c6;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36ac",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 172
  },
  "hsl": {
    "h": 260.339,
    "s": 52.212,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45038,
    "c": 0.17764,
    "h": 293.5
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#5E36AC
secondary
#AAC27C
accent
#DC4CAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E36AC

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

Preview Lab → · Contrast checker → · Palette generator →

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