#5F2091#5F2091

#5F2091 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.174 H 304.9°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#5F2091
RGBrgb(95, 32, 145)
HSLhsl(273, 64%, 35%)
HSVhsv(273, 78%, 57%)
CMYKcmyk(34.5%, 77.9%, 0%, 43.1%)
CIE-LABlab(28.14, 48.46, -50.01)
CIE-LCHlch(28.14, 69.64, 314.10°)
OKLaboklab(40.24% 0.0995 -0.1424)
OKLCHoklch(40.24% 0.174 304.9)
XYZxyz(10.3455, 5.5103, 27.3011)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2091 #529120
analogous
#262091 #5F2091 #91208B
triadic
#5F2091 #915F20 #20915F
tetradic
#5F2091 #912620 #529120 #208B91
square
#5F2091 #912620 #529120 #208B91
split-complementary
#5F2091 #8B9120 #209126
monochromatic
#1D0A2D #3E155F #5F2091 #802BC3 #9D52D9

Accessibility & contrast

On white

9.99
#5F2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5F2091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2091
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2091#FFFFFF#000000##FFFFFF
##5F20911.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#563D58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5f2091;
/* rgb */ color: rgb(95, 32, 145);
/* oklch */ color: oklch(40.2% 0.174 304.9);
Tailwind
colors: {
  custom: {
    50: '#9163b2',
    500: '#5f2091',
    950: '#000000',
  },
}
SCSS
$custom: #5f2091;
$custom-light: #9163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2091",
  "rgb": {
    "r": 95,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 273.451,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.40243,
    "c": 0.17372,
    "h": 304.9
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#5F2091
secondary
#80BC51
accent
#E7418A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #5F2091

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

Preview Lab → · Contrast checker → · Palette generator →

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