#5F32BF#5F32BF

#5F32BF is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.3% C 0.204 H 290.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#5F32BF
RGBrgb(95, 50, 191)
HSLhsl(259, 59%, 47%)
HSVhsv(259, 74%, 75%)
CMYKcmyk(50.3%, 73.8%, 0%, 25.1%)
CIE-LABlab(34.95, 52.13, -66.56)
CIE-LCHlch(34.95, 84.55, 308.07°)
OKLaboklab(46.25% 0.0723 -0.1911)
OKLCHoklch(46.25% 0.204 290.7)
XYZxyz(15.2612, 8.4751, 50.1118)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F32BF #92BF32
analogous
#324CBF #5F32BF #A632BF
triadic
#5F32BF #BF5F32 #32BF5F
tetradic
#5F32BF #BF324C #92BF32 #32BFA6
square
#5F32BF #BF324C #92BF32 #32BFA6
split-complementary
#5F32BF #BFA632 #4CBF32
monochromatic
#2F195E #47258E #5F32BF #815AD4 #A68BE1

Accessibility & contrast

On white

7.79
#5F32BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#5F32BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F32BF
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F32BF#FFFFFF#000000##FFFFFF
##5F32BF1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C3
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#3E5876
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f32bf;
/* rgb */ color: rgb(95, 50, 191);
/* oklch */ color: oklch(46.3% 0.204 290.7);
Tailwind
colors: {
  custom: {
    50: '#966ed3',
    500: '#5f32bf',
    950: '#000000',
  },
}
SCSS
$custom: #5f32bf;
$custom-light: #966ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f32bf",
  "rgb": {
    "r": 95,
    "g": 50,
    "b": 191
  },
  "hsl": {
    "h": 259.149,
    "s": 58.506,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46253,
    "c": 0.20435,
    "h": 290.7
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#5F32BF
secondary
#B4CB82
accent
#E246B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5F32BF

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

Preview Lab → · Contrast checker → · Palette generator →

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