#5F32BC#5F32BC

#5F32BC is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.201 H 291.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#5F32BC
RGBrgb(95, 50, 188)
HSLhsl(260, 58%, 47%)
HSVhsv(260, 73%, 74%)
CMYKcmyk(49.5%, 73.4%, 0%, 26.3%)
CIE-LABlab(34.69, 51.32, -65.23)
CIE-LCHlch(34.69, 83.00, 308.19°)
OKLaboklab(45.99% 0.073 -0.1872)
OKLCHoklch(45.99% 0.201 291.3)
XYZxyz(14.9344, 8.3444, 48.3909)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F32BC #8FBC32
analogous
#324ABC #5F32BC #A432BC
triadic
#5F32BC #BC5F32 #32BC5F
tetradic
#5F32BC #BC324A #8FBC32 #32BCA4
square
#5F32BC #BC324A #8FBC32 #32BCA4
split-complementary
#5F32BC #BCA432 #4ABC32
monochromatic
#2E185B #47258C #5F32BC #8058D3 #A589E0

Accessibility & contrast

On white

7.87
#5F32BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#5F32BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F32BC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F32BC#FFFFFF#000000##FFFFFF
##5F32BC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#405774
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #5f32bc;
/* rgb */ color: rgb(95, 50, 188);
/* oklch */ color: oklch(46.0% 0.201 291.3);
Tailwind
colors: {
  custom: {
    50: '#956ed1',
    500: '#5f32bc',
    950: '#000000',
  },
}
SCSS
$custom: #5f32bc;
$custom-light: #956ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f32bc",
  "rgb": {
    "r": 95,
    "g": 50,
    "b": 188
  },
  "hsl": {
    "h": 259.565,
    "s": 57.983,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.20096,
    "h": 291.3
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#5F32BC
secondary
#B2C980
accent
#E147AF
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #5F32BC

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

Preview Lab → · Contrast checker → · Palette generator →

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