#5E36CF#5E36CF

#5E36CF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.218 H 287.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5E36CF
RGBrgb(94, 54, 207)
HSLhsl(256, 61%, 51%)
HSVhsv(256, 74%, 81%)
CMYKcmyk(54.6%, 73.9%, 0%, 18.8%)
CIE-LABlab(36.97, 54.46, -72.60)
CIE-LCHlch(36.97, 90.75, 306.88°)
OKLaboklab(48.09% 0.0638 -0.2089)
OKLCHoklch(48.09% 0.218 287)
XYZxyz(17.1944, 9.5221, 59.9513)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E36CF #A7CF36
analogous
#365ACF #5E36CF #AA36CF
triadic
#5E36CF #CF5E36 #36CF5E
tetradic
#5E36CF #CF365A #A7CF36 #36CFAA
square
#5E36CF #CF365A #A7CF36 #36CFAA
split-complementary
#5E36CF #CFAA36 #5ACF36
monochromatic
#311B70 #4727A1 #5E36CF #8667DB #AD99E7

Accessibility & contrast

On white

7.23
#5E36CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#5E36CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E36CF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E36CF#FFFFFF#000000##FFFFFF
##5E36CF1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#2D6080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e36cf;
/* rgb */ color: rgb(94, 54, 207);
/* oklch */ color: oklch(48.1% 0.218 287.0);
Tailwind
colors: {
  custom: {
    50: '#9771df',
    500: '#5e36cf',
    950: '#000000',
  },
}
SCSS
$custom: #5e36cf;
$custom-light: #9771df;
$custom-dark: #000000;
JSON
{
  "hex": "#5e36cf",
  "rgb": {
    "r": 94,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 255.686,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.2184,
    "h": 287
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#5E36CF
secondary
#C1D28F
accent
#E543BA
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #5E36CF

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

Preview Lab → · Contrast checker → · Palette generator →

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