#5F36BB#5F36BB

#5F36BB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.4% C 0.195 H 290.9°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#5F36BB
RGBrgb(95, 54, 187)
HSLhsl(258, 55%, 47%)
HSVhsv(258, 71%, 73%)
CMYKcmyk(49.2%, 71.1%, 0%, 26.7%)
CIE-LABlab(35.32, 49.04, -63.61)
CIE-LCHlch(35.32, 80.32, 307.63°)
OKLaboklab(46.41% 0.0697 -0.1825)
OKLCHoklch(46.41% 0.195 290.9)
XYZxyz(15.0056, 8.6585, 47.8847)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F36BB #92BB36
analogous
#3650BB #5F36BB #A236BB
triadic
#5F36BB #BB5F36 #36BB5F
tetradic
#5F36BB #BB3650 #92BB36 #36BBA2
square
#5F36BB #BB3650 #92BB36 #36BBA2
split-complementary
#5F36BB #BBA236 #50BB36
monochromatic
#2F1B5C #47288C #5F36BB #815ED0 #A68DDE

Accessibility & contrast

On white

7.69
#5F36BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5F36BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F36BB
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F36BB#FFFFFF#000000##FFFFFF
##5F36BB1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#405875
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f36bb;
/* rgb */ color: rgb(95, 54, 187);
/* oklch */ color: oklch(46.4% 0.195 290.9);
Tailwind
colors: {
  custom: {
    50: '#9571d0',
    500: '#5f36bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f36bb;
$custom-light: #9571d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f36bb",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 187
  },
  "hsl": {
    "h": 258.496,
    "s": 55.187,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46405,
    "c": 0.19537,
    "h": 290.9
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#5F36BB
secondary
#B4C984
accent
#DF49B1
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0814
muted
#7E7B82

Preview Lab

Preview with #5F36BB

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

Preview Lab → · Contrast checker → · Palette generator →

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