#5B3BCF#5B3BCF

#5B3BCF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.213 H 285.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#5B3BCF
RGBrgb(91, 59, 207)
HSLhsl(253, 61%, 52%)
HSVhsv(253, 71%, 81%)
CMYKcmyk(56%, 71.5%, 0%, 18.8%)
CIE-LABlab(37.58, 51.51, -71.60)
CIE-LCHlch(37.58, 88.20, 305.73°)
OKLaboklab(48.45% 0.0557 -0.2061)
OKLCHoklch(48.45% 0.213 285.1)
XYZxyz(17.1374, 9.8561, 60.0188)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B3BCF #AFCF3B
analogous
#3B65CF #5B3BCF #A53BCF
triadic
#5B3BCF #CF5B3B #3BCF5B
tetradic
#5B3BCF #CF3B65 #AFCF3B #3BCFA5
square
#5B3BCF #CF3B65 #AFCF3B #3BCFA5
split-complementary
#5B3BCF #CFA53B #65CF3B
monochromatic
#2F1C73 #4328A5 #5B3BCF #846CDB #AD9DE7

Accessibility & contrast

On white

7.07
#5B3BCF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5B3BCF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B3BCF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B3BCF#FFFFFF#000000##FFFFFF
##5B3BCF1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#236381
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5b3bcf;
/* rgb */ color: rgb(91, 59, 207);
/* oklch */ color: oklch(48.5% 0.213 285.1);
Tailwind
colors: {
  custom: {
    50: '#9574df',
    500: '#5b3bcf',
    950: '#000000',
  },
}
SCSS
$custom: #5b3bcf;
$custom-light: #9574df;
$custom-dark: #000000;
JSON
{
  "hex": "#5b3bcf",
  "rgb": {
    "r": 91,
    "g": 59,
    "b": 207
  },
  "hsl": {
    "h": 252.973,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.48452,
    "c": 0.21347,
    "h": 285.1
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#5B3BCF
secondary
#C5D393
accent
#E444C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0815
muted
#7E7B83

Preview Lab

Preview with #5B3BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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