#5B39DE#5B39DE

#5B39DE is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.233 H 283.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5B39DE
RGBrgb(91, 57, 222)
HSLhsl(252, 71%, 55%)
HSVhsv(252, 74%, 87%)
CMYKcmyk(59%, 74.3%, 0%, 12.9%)
CIE-LABlab(38.59, 56.83, -78.58)
CIE-LCHlch(38.59, 96.98, 305.88°)
OKLaboklab(49.58% 0.0538 -0.2265)
OKLCHoklch(49.58% 0.233 283.4)
XYZxyz(18.9583, 10.4231, 70.1059)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B39DE #BCDE39
analogous
#3969DE #5B39DE #AE39DE
triadic
#5B39DE #DE5B39 #39DE5B
tetradic
#5B39DE #DE3969 #BCDE39 #39DEAE
square
#5B39DE #DE3969 #BCDE39 #39DEAE
split-complementary
#5B39DE #DEAE39 #69DE39
monochromatic
#2D1686 #3F1FBB #5B39DE #866DE7 #B2A2EF

Accessibility & contrast

On white

6.81
#5B39DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5B39DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B39DE
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B39DE#FFFFFF#000000##FFFFFF
##5B39DE1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060E3
Deuteranopia (green-blind)
#0055DB
Tritanopia (blue-blind)
#006889
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5b39de;
/* rgb */ color: rgb(91, 57, 222);
/* oklch */ color: oklch(49.6% 0.233 283.4);
Tailwind
colors: {
  custom: {
    50: '#9873ea',
    500: '#5b39de',
    950: '#000000',
  },
}
SCSS
$custom: #5b39de;
$custom-light: #9873ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b39de",
  "rgb": {
    "r": 91,
    "g": 57,
    "b": 222
  },
  "hsl": {
    "h": 252.364,
    "s": 71.429,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.23277,
    "h": 283.4
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#5B39DE
secondary
#CEDC97
accent
#EE3AC9
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0816
muted
#7F7B84

Preview Lab

Preview with #5B39DE

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

Preview Lab → · Contrast checker → · Palette generator →

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