#5F36BC#5F36BC

#5F36BC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.197 H 290.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5F36BC
RGBrgb(95, 54, 188)
HSLhsl(258, 55%, 47%)
HSVhsv(258, 71%, 74%)
CMYKcmyk(49.5%, 71.3%, 0%, 26.3%)
CIE-LABlab(35.40, 49.31, -64.06)
CIE-LCHlch(35.40, 80.84, 307.59°)
OKLaboklab(46.49% 0.0695 -0.1838)
OKLCHoklch(46.49% 0.197 290.7)
XYZxyz(15.1130, 8.7015, 48.4504)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F36BC #93BC36
analogous
#3650BC #5F36BC #A236BC
triadic
#5F36BC #BC5F36 #36BC5F
tetradic
#5F36BC #BC3650 #93BC36 #36BCA2
square
#5F36BC #BC3650 #93BC36 #36BCA2
split-complementary
#5F36BC #BCA236 #50BC36
monochromatic
#2F1B5D #47288C #5F36BC #815ED1 #A78EDF

Accessibility & contrast

On white

7.66
#5F36BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#5F36BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F36BC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F36BC#FFFFFF#000000##FFFFFF
##5F36BC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#405975
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5f36bc;
/* rgb */ color: rgb(95, 54, 188);
/* oklch */ color: oklch(46.5% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#9571d1',
    500: '#5f36bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f36bc;
$custom-light: #9571d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f36bc",
  "rgb": {
    "r": 95,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 258.358,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.19653,
    "h": 290.7
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#5F36BC
secondary
#B4C985
accent
#DF49B1
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F36BC

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

Preview Lab → · Contrast checker → · Palette generator →

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