#5F39BC#5F39BC

#5F39BC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.193 H 290.2°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#5F39BC
RGBrgb(95, 57, 188)
HSLhsl(257, 53%, 48%)
HSVhsv(257, 70%, 74%)
CMYKcmyk(49.5%, 69.7%, 0%, 26.3%)
CIE-LABlab(35.96, 47.75, -63.15)
CIE-LCHlch(35.96, 79.17, 307.10°)
OKLaboklab(46.89% 0.0668 -0.1811)
OKLCHoklch(46.89% 0.193 290.2)
XYZxyz(15.2569, 8.9894, 48.4984)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F39BC #96BC39
analogous
#3954BC #5F39BC #A039BC
triadic
#5F39BC #BC5F39 #39BC5F
tetradic
#5F39BC #BC3954 #96BC39 #39BCA0
square
#5F39BC #BC3954 #96BC39 #39BCA0
split-complementary
#5F39BC #BCA039 #54BC39
monochromatic
#301D5E #472B8D #5F39BC #8263D0 #A892DE

Accessibility & contrast

On white

7.51
#5F39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#5F39BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F39BC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F39BC#FFFFFF#000000##FFFFFF
##5F39BC1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0052B9
Tritanopia (blue-blind)
#405A76
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f39bc;
/* rgb */ color: rgb(95, 57, 188);
/* oklch */ color: oklch(46.9% 0.193 290.2);
Tailwind
colors: {
  custom: {
    50: '#9572d1',
    500: '#5f39bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f39bc;
$custom-light: #9572d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f39bc",
  "rgb": {
    "r": 95,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 257.405,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4689,
    "c": 0.19306,
    "h": 290.2
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#5F39BC
secondary
#B6C988
accent
#DD4BB3
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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