#5F36BE#5F36BE

#5F36BE is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.199 H 290.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#5F36BE
RGBrgb(95, 54, 190)
HSLhsl(258, 56%, 48%)
HSVhsv(258, 72%, 75%)
CMYKcmyk(50%, 71.6%, 0%, 25.5%)
CIE-LABlab(35.57, 49.87, -64.96)
CIE-LCHlch(35.57, 81.90, 307.51°)
OKLaboklab(46.67% 0.0691 -0.1865)
OKLCHoklch(46.67% 0.199 290.3)
XYZxyz(15.3301, 8.7883, 49.5938)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F36BE #95BE36
analogous
#3651BE #5F36BE #A336BE
triadic
#5F36BE #BE5F36 #36BE5F
tetradic
#5F36BE #BE3651 #95BE36 #36BEA3
square
#5F36BE #BE3651 #95BE36 #36BEA3
split-complementary
#5F36BE #BEA336 #51BE36
monochromatic
#2F1B5F #47288E #5F36BE #8260D2 #A78FDF

Accessibility & contrast

On white

7.61
#5F36BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#5F36BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F36BE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F36BE#FFFFFF#000000##FFFFFF
##5F36BE1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#3E5A76
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5f36be;
/* rgb */ color: rgb(95, 54, 190);
/* oklch */ color: oklch(46.7% 0.199 290.3);
Tailwind
colors: {
  custom: {
    50: '#9571d3',
    500: '#5f36be',
    950: '#000000',
  },
}
SCSS
$custom: #5f36be;
$custom-light: #9571d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f36be",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 190
  },
  "hsl": {
    "h": 258.088,
    "s": 55.738,
    "l": 47.843
  },
  "oklch": {
    "l": 0.46665,
    "c": 0.19885,
    "h": 290.3
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F36BE

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

Preview Lab → · Contrast checker → · Palette generator →

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