#5F1690#5F1690

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

Color values

HEX#5F1690
RGBrgb(95, 22, 144)
HSLhsl(276, 73%, 33%)
HSVhsv(276, 85%, 56%)
CMYKcmyk(34%, 84.7%, 0%, 43.5%)
CIE-LABlab(26.79, 51.90, -51.59)
CIE-LCHlch(26.79, 73.18, 315.17°)
OKLaboklab(39.28% 0.1078 -0.147)
OKLCHoklch(39.28% 0.182 306.3)
XYZxyz(10.0391, 5.0204, 26.8203)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1690 #479016
analogous
#221690 #5F1690 #901684
triadic
#5F1690 #905F16 #16905F
tetradic
#5F1690 #902216 #479016 #168490
square
#5F1690 #902216 #479016 #168490
split-complementary
#5F1690 #849016 #169022
monochromatic
#190626 #3C0E5B #5F1690 #821EC5 #A03FE2

Accessibility & contrast

On white

10.48
#5F1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1690
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1690#FFFFFF#000000##FFFFFF
##5F16901.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1690;
/* rgb */ color: rgb(95, 22, 144);
/* oklch */ color: oklch(39.3% 0.182 306.3);
Tailwind
colors: {
  custom: {
    50: '#925fb1',
    500: '#5f1690',
    950: '#000000',
  },
}
SCSS
$custom: #5f1690;
$custom-light: #925fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1690",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 275.902,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39275,
    "c": 0.18229,
    "h": 306.3
  },
  "luminance": 0.0502
}

Semantic roles & 50–950 ramp

primary
#5F1690
secondary
#74C240
accent
#F03882
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5F1690

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

Preview Lab → · Contrast checker → · Palette generator →

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