#5E36AA#5E36AA

#5E36AA is a dark, vivid violet. Relative luminance 0.079; OKLCH L 44.9% C 0.175 H 294.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#5E36AA
RGBrgb(94, 54, 170)
HSLhsl(261, 52%, 44%)
HSVhsv(261, 68%, 67%)
CMYKcmyk(44.7%, 68.2%, 0%, 33.3%)
CIE-LABlab(33.82, 44.14, -55.97)
CIE-LCHlch(33.82, 71.28, 308.26°)
OKLaboklab(44.87% 0.0713 -0.1601)
OKLCHoklch(44.87% 0.175 294)
XYZxyz(13.1890, 7.9199, 38.8562)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36AA #82AA36
analogous
#3648AA #5E36AA #9836AA
triadic
#5E36AA #AA5E36 #36AA5E
tetradic
#5E36AA #AA3648 #82AA36 #36AA98
square
#5E36AA #AA3648 #82AA36 #36AA98
split-complementary
#5E36AA #AA9836 #48AA36
monochromatic
#2B184D #44277C #5E36AA #7D54C9 #A083D8

Accessibility & contrast

On white

8.13
#5E36AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#5E36AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36AA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36AA#FFFFFF#000000##FFFFFF
##5E36AA1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#49526B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #5e36aa;
/* rgb */ color: rgb(94, 54, 170);
/* oklch */ color: oklch(44.9% 0.175 294.0);
Tailwind
colors: {
  custom: {
    50: '#9270c4',
    500: '#5e36aa',
    950: '#000000',
  },
}
SCSS
$custom: #5e36aa;
$custom-light: #9270c4;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36aa",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 260.69,
    "s": 51.786,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.17525,
    "h": 294
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#5E36AA
secondary
#A9C17B
accent
#DB4DAA
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E36AA

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

Preview Lab → · Contrast checker → · Palette generator →

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