#5E36AB#5E36AB

#5E36AB is a dark, vivid violet. Relative luminance 0.080; OKLCH L 45.0% C 0.176 H 293.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#5E36AB
RGBrgb(94, 54, 171)
HSLhsl(261, 52%, 44%)
HSVhsv(261, 68%, 67%)
CMYKcmyk(45%, 68.4%, 0%, 32.9%)
CIE-LABlab(33.90, 44.41, -56.44)
CIE-LCHlch(33.90, 71.82, 308.20°)
OKLaboklab(44.96% 0.0711 -0.1615)
OKLCHoklch(44.96% 0.176 293.8)
XYZxyz(13.2839, 7.9579, 39.3563)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36AB #83AB36
analogous
#3649AB #5E36AB #9936AB
triadic
#5E36AB #AB5E36 #36AB5E
tetradic
#5E36AB #AB3649 #83AB36 #36AB99
square
#5E36AB #AB3649 #83AB36 #36AB99
split-complementary
#5E36AB #AB9936 #49AB36
monochromatic
#2B194E #44277C #5E36AB #7D55C9 #A083D8

Accessibility & contrast

On white

8.10
#5E36AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#5E36AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36AB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36AB#FFFFFF#000000##FFFFFF
##5E36AB1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e36ab;
/* rgb */ color: rgb(94, 54, 171);
/* oklch */ color: oklch(45.0% 0.176 293.8);
Tailwind
colors: {
  custom: {
    50: '#9270c5',
    500: '#5e36ab',
    950: '#000000',
  },
}
SCSS
$custom: #5e36ab;
$custom-light: #9270c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36ab",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 260.513,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44956,
    "c": 0.17644,
    "h": 293.8
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#5E36AB
secondary
#AAC27B
accent
#DB4CAB
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #5E36AB

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

Preview Lab → · Contrast checker → · Palette generator →

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