#5F36BF#5F36BF

#5F36BF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.8% C 0.200 H 290.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5F36BF
RGBrgb(95, 54, 191)
HSLhsl(258, 56%, 48%)
HSVhsv(258, 72%, 75%)
CMYKcmyk(50.3%, 71.7%, 0%, 25.1%)
CIE-LABlab(35.66, 50.15, -65.41)
CIE-LCHlch(35.66, 82.42, 307.48°)
OKLaboklab(46.75% 0.0689 -0.1878)
OKLCHoklch(46.75% 0.2 290.1)
XYZxyz(15.4398, 8.8322, 50.1714)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F36BF #96BF36
analogous
#3652BF #5F36BF #A336BF
triadic
#5F36BF #BF5F36 #36BF5F
tetradic
#5F36BF #BF3652 #96BF36 #36BFA3
square
#5F36BF #BF3652 #96BF36 #36BFA3
split-complementary
#5F36BF #BFA336 #52BF36
monochromatic
#301B60 #47298F #5F36BF #8260D2 #A890E0

Accessibility & contrast

On white

7.59
#5F36BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#5F36BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F36BF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F36BF#FFFFFF#000000##FFFFFF
##5F36BF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0051BC
Tritanopia (blue-blind)
#3E5A77
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f36bf;
/* rgb */ color: rgb(95, 54, 191);
/* oklch */ color: oklch(46.8% 0.200 290.1);
Tailwind
colors: {
  custom: {
    50: '#9571d3',
    500: '#5f36bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f36bf;
$custom-light: #9571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f36bf",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 257.956,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.46752,
    "c": 0.20001,
    "h": 290.1
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#5F36BF
secondary
#B6CA87
accent
#DF49B2
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F36BF

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

Preview Lab → · Contrast checker → · Palette generator →

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