#5F32AE#5F32AE

#5F32AE is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.8% C 0.185 H 294.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#5F32AE
RGBrgb(95, 50, 174)
HSLhsl(262, 55%, 44%)
HSVhsv(262, 71%, 68%)
CMYKcmyk(45.4%, 71.3%, 0%, 31.8%)
CIE-LABlab(33.50, 47.51, -58.88)
CIE-LCHlch(33.50, 75.65, 308.90°)
OKLaboklab(44.77% 0.076 -0.1686)
OKLCHoklch(44.77% 0.185 294.3)
XYZxyz(13.4978, 7.7697, 40.8247)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F32AE #81AE32
analogous
#3243AE #5F32AE #9D32AE
triadic
#5F32AE #AE5F32 #32AE5F
tetradic
#5F32AE #AE3243 #81AE32 #32AE9D
square
#5F32AE #AE3243 #81AE32 #32AE9D
split-complementary
#5F32AE #AE9D32 #43AE32
monochromatic
#2B174F #45247E #5F32AE #7E50CD #A180DA

Accessibility & contrast

On white

8.22
#5F32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#5F32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F32AE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F32AE#FFFFFF#000000##FFFFFF
##5F32AE1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#48516C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #5f32ae;
/* rgb */ color: rgb(95, 50, 174);
/* oklch */ color: oklch(44.8% 0.185 294.3);
Tailwind
colors: {
  custom: {
    50: '#936ec7',
    500: '#5f32ae',
    950: '#000000',
  },
}
SCSS
$custom: #5f32ae;
$custom-light: #936ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f32ae",
  "rgb": {
    "r": 95,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 261.774,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44774,
    "c": 0.18493,
    "h": 294.3
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#5F32AE
secondary
#A8C478
accent
#DF49A8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #5F32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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