#5F1E89#5F1E89

#5F1E89 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.168 H 307.9°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#5F1E89
RGBrgb(95, 30, 137)
HSLhsl(276, 64%, 33%)
HSVhsv(276, 78%, 54%)
CMYKcmyk(30.7%, 78.1%, 0%, 46.3%)
CIE-LABlab(27.21, 47.40, -46.57)
CIE-LCHlch(27.21, 66.45, 315.51°)
OKLaboklab(39.38% 0.1032 -0.1323)
OKLCHoklch(39.38% 0.168 307.9)
XYZxyz(9.6980, 5.1677, 24.1486)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1E89 #48891E
analogous
#2A1E89 #5F1E89 #891E7D
triadic
#5F1E89 #895F1E #1E895F
tetradic
#5F1E89 #892A1E #48891E #1E7D89
square
#5F1E89 #892A1E #48891E #1E7D89
split-complementary
#5F1E89 #7D891E #1E892A
monochromatic
#190825 #3C1357 #5F1E89 #8229BB #A04AD7

Accessibility & contrast

On white

10.33
#5F1E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#5F1E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1E89
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1E89#FFFFFF#000000##FFFFFF
##5F1E891.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#583853
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #5f1e89;
/* rgb */ color: rgb(95, 30, 137);
/* oklch */ color: oklch(39.4% 0.168 307.9);
Tailwind
colors: {
  custom: {
    50: '#9161ac',
    500: '#5f1e89',
    950: '#000000',
  },
}
SCSS
$custom: #5f1e89;
$custom-light: #9161ac;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1e89",
  "rgb": {
    "r": 95,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 276.449,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39383,
    "c": 0.16775,
    "h": 307.9
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#5F1E89
secondary
#75BA49
accent
#E74182
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0D0510
muted
#7E7A7F

Preview Lab

Preview with #5F1E89

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

Preview Lab → · Contrast checker → · Palette generator →

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