#5F32BB#5F32BB

#5F32BB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.200 H 291.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5F32BB
RGBrgb(95, 50, 187)
HSLhsl(260, 58%, 46%)
HSVhsv(260, 73%, 73%)
CMYKcmyk(49.2%, 73.3%, 0%, 26.7%)
CIE-LABlab(34.60, 51.04, -64.78)
CIE-LCHlch(34.60, 82.48, 308.23°)
OKLaboklab(45.9% 0.0732 -0.1859)
OKLCHoklch(45.9% 0.2 291.5)
XYZxyz(14.8270, 8.3014, 47.8252)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F32BB #8EBB32
analogous
#324ABB #5F32BB #A432BB
triadic
#5F32BB #BB5F32 #32BB5F
tetradic
#5F32BB #BB324A #8EBB32 #32BBA4
square
#5F32BB #BB324A #8EBB32 #32BBA4
split-complementary
#5F32BB #BBA432 #4ABB32
monochromatic
#2E185A #46258B #5F32BB #8058D2 #A588DF

Accessibility & contrast

On white

7.89
#5F32BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#5F32BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F32BB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F32BB#FFFFFF#000000##FFFFFF
##5F32BB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#415674
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #5f32bb;
/* rgb */ color: rgb(95, 50, 187);
/* oklch */ color: oklch(45.9% 0.200 291.5);
Tailwind
colors: {
  custom: {
    50: '#956ed1',
    500: '#5f32bb',
    950: '#000000',
  },
}
SCSS
$custom: #5f32bb;
$custom-light: #956ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f32bb",
  "rgb": {
    "r": 95,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 259.708,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45898,
    "c": 0.19983,
    "h": 291.5
  },
  "luminance": 0.08302
}

Semantic roles & 50–950 ramp

primary
#5F32BB
secondary
#B1C980
accent
#E147AE
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #5F32BB

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

Preview Lab → · Contrast checker → · Palette generator →

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