#5B37C0#5B37C0

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

Color values

HEX#5B37C0
RGBrgb(91, 55, 192)
HSLhsl(256, 55%, 48%)
HSVhsv(256, 71%, 75%)
CMYKcmyk(52.6%, 71.4%, 0%, 24.7%)
CIE-LABlab(35.52, 49.28, -66.24)
CIE-LCHlch(35.52, 82.56, 306.65°)
OKLaboklab(46.58% 0.062 -0.1903)
OKLCHoklch(46.58% 0.2 288.1)
XYZxyz(15.1922, 8.7616, 50.7496)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B37C0 #9CC037
analogous
#3758C0 #5B37C0 #9F37C0
triadic
#5B37C0 #C05B37 #37C05B
tetradic
#5B37C0 #C03758 #9CC037 #37C09F
square
#5B37C0 #C03758 #9CC037 #37C09F
split-complementary
#5B37C0 #C09F37 #58C037
monochromatic
#2E1C61 #442990 #5B37C0 #8062D2 #A692E0

Accessibility & contrast

On white

7.63
#5B37C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#5B37C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B37C0
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B37C0#FFFFFF#000000##FFFFFF
##5B37C01.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#345B78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5b37c0;
/* rgb */ color: rgb(91, 55, 192);
/* oklch */ color: oklch(46.6% 0.200 288.1);
Tailwind
colors: {
  custom: {
    50: '#9371d4',
    500: '#5b37c0',
    950: '#000000',
  },
}
SCSS
$custom: #5b37c0;
$custom-light: #9371d4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b37c0",
  "rgb": {
    "r": 91,
    "g": 55,
    "b": 192
  },
  "hsl": {
    "h": 255.766,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.2002,
    "h": 288.1
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#5B37C0
secondary
#B9CB88
accent
#DF49B7
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5B37C0

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

Preview Lab → · Contrast checker → · Palette generator →

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