#5E36CD#5E36CD

#5E36CD is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.216 H 287.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5E36CD
RGBrgb(94, 54, 205)
HSLhsl(256, 60%, 51%)
HSVhsv(256, 74%, 80%)
CMYKcmyk(54.1%, 73.7%, 0%, 19.6%)
CIE-LABlab(36.79, 53.90, -71.73)
CIE-LCHlch(36.79, 89.73, 306.92°)
OKLaboklab(47.91% 0.0643 -0.2063)
OKLCHoklch(47.91% 0.216 287.3)
XYZxyz(16.9514, 9.4249, 58.6717)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36CD #A5CD36
analogous
#3659CD #5E36CD #A936CD
triadic
#5E36CD #CD5E36 #36CD5E
tetradic
#5E36CD #CD3659 #A5CD36 #36CDA9
square
#5E36CD #CD3659 #A5CD36 #36CDA9
split-complementary
#5E36CD #CDA936 #59CD36
monochromatic
#311B6D #47279E #5E36CD #8567D9 #AD98E5

Accessibility & contrast

On white

7.28
#5E36CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E36CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36CD
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36CD#FFFFFF#000000##FFFFFF
##5E36CD1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD1
Deuteranopia (green-blind)
#0052CA
Tritanopia (blue-blind)
#2F5F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e36cd;
/* rgb */ color: rgb(94, 54, 205);
/* oklch */ color: oklch(47.9% 0.216 287.3);
Tailwind
colors: {
  custom: {
    50: '#9771dd',
    500: '#5e36cd',
    950: '#000000',
  },
}
SCSS
$custom: #5e36cd;
$custom-light: #9771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36cd",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 255.894,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.21612,
    "h": 287.3
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#5E36CD
secondary
#BFD18E
accent
#E344B9
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5E36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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