#5F39BF#5F39BF

#5F39BF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.197 H 289.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#5F39BF
RGBrgb(95, 57, 191)
HSLhsl(257, 54%, 49%)
HSVhsv(257, 70%, 75%)
CMYKcmyk(50.3%, 70.2%, 0%, 25.1%)
CIE-LABlab(36.21, 48.60, -64.50)
CIE-LCHlch(36.21, 80.76, 307.00°)
OKLaboklab(47.15% 0.0662 -0.1851)
OKLCHoklch(47.15% 0.197 289.7)
XYZxyz(15.5837, 9.1201, 50.2193)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F39BF #99BF39
analogous
#3956BF #5F39BF #A239BF
triadic
#5F39BF #BF5F39 #39BF5F
tetradic
#5F39BF #BF3956 #99BF39 #39BFA2
square
#5F39BF #BF3956 #99BF39 #39BFA2
split-complementary
#5F39BF #BFA239 #56BF39
monochromatic
#301D61 #482B90 #5F39BF #8364D1 #A993DF

Accessibility & contrast

On white

7.44
#5F39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5F39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F39BF
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F39BF#FFFFFF#000000##FFFFFF
##5F39BF1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#3D5C78
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5f39bf;
/* rgb */ color: rgb(95, 57, 191);
/* oklch */ color: oklch(47.1% 0.197 289.7);
Tailwind
colors: {
  custom: {
    50: '#9572d3',
    500: '#5f39bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f39bf;
$custom-light: #9572d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f39bf",
  "rgb": {
    "r": 95,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 257.015,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47147,
    "c": 0.1966,
    "h": 289.7
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#5F39BF
secondary
#B8CA8A
accent
#DD4AB4
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0814
muted
#7E7B83

Preview Lab

Preview with #5F39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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