#5F1590#5F1590

#5F1590 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.2% C 0.183 H 306.3°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#5F1590
RGBrgb(95, 21, 144)
HSLhsl(276, 75%, 32%)
HSVhsv(276, 85%, 56%)
CMYKcmyk(34%, 85.4%, 0%, 43.5%)
CIE-LABlab(26.69, 52.21, -51.77)
CIE-LCHlch(26.69, 73.52, 315.25°)
OKLaboklab(39.2% 0.1085 -0.1475)
OKLCHoklch(39.2% 0.183 306.3)
XYZxyz(10.0204, 4.9829, 26.8141)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1590 #469015
analogous
#221590 #5F1590 #901583
triadic
#5F1590 #905F15 #15905F
tetradic
#5F1590 #902215 #469015 #158390
square
#5F1590 #902215 #469015 #158390
split-complementary
#5F1590 #839015 #159022
monochromatic
#190525 #3C0D5B #5F1590 #821DC5 #A13DE3

Accessibility & contrast

On white

10.52
#5F1590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#5F1590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1590
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1590#FFFFFF#000000##FFFFFF
##5F15901.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#563855
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5f1590;
/* rgb */ color: rgb(95, 21, 144);
/* oklch */ color: oklch(39.2% 0.183 306.3);
Tailwind
colors: {
  custom: {
    50: '#925eb1',
    500: '#5f1590',
    950: '#000000',
  },
}
SCSS
$custom: #5f1590;
$custom-light: #925eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1590",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 276.098,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39201,
    "c": 0.18311,
    "h": 306.3
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#5F1590
secondary
#73C23E
accent
#F13781
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5F1590

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

Preview Lab → · Contrast checker → · Palette generator →

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