#5B36CF#5B36CF

#5B36CF is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.219 H 285.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#5B36CF
RGBrgb(91, 54, 207)
HSLhsl(255, 61%, 51%)
HSVhsv(255, 74%, 81%)
CMYKcmyk(56%, 73.9%, 0%, 18.8%)
CIE-LABlab(36.68, 54.05, -73.08)
CIE-LCHlch(36.68, 90.90, 306.48°)
OKLaboklab(47.81% 0.0595 -0.2104)
OKLCHoklch(47.81% 0.219 285.8)
XYZxyz(16.8926, 9.3665, 59.9372)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B36CF #AACF36
analogous
#365DCF #5B36CF #A736CF
triadic
#5B36CF #CF5B36 #36CF5B
tetradic
#5B36CF #CF365D #AACF36 #36CFA7
square
#5B36CF #CF365D #AACF36 #36CFA7
split-complementary
#5B36CF #CFA736 #5DCF36
monochromatic
#2F1B70 #4427A1 #5B36CF #8367DB #AC99E7

Accessibility & contrast

On white

7.31
#5B36CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#5B36CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B36CF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B36CF#FFFFFF#000000##FFFFFF
##5B36CF1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#0052CC
Tritanopia (blue-blind)
#236080
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5b36cf;
/* rgb */ color: rgb(91, 54, 207);
/* oklch */ color: oklch(47.8% 0.219 285.8);
Tailwind
colors: {
  custom: {
    50: '#9671df',
    500: '#5b36cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b36cf;
$custom-light: #9671df;
$custom-dark: #000000;
JSON
{
  "hex": "#5b36cf",
  "rgb": {
    "r": 91,
    "g": 54,
    "b": 207
  },
  "hsl": {
    "h": 254.51,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47814,
    "c": 0.21864,
    "h": 285.8
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#5B36CF
secondary
#C2D28F
accent
#E543BE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B36CF

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

Preview Lab → · Contrast checker → · Palette generator →

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