#5B1690#5B1690

#5B1690 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.181 H 304.2°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#5B1690
RGBrgb(91, 22, 144)
HSLhsl(274, 73%, 33%)
HSVhsv(274, 85%, 56%)
CMYKcmyk(36.8%, 84.7%, 0%, 43.5%)
CIE-LABlab(26.19, 51.27, -52.60)
CIE-LCHlch(26.19, 73.45, 314.27°)
OKLaboklab(38.73% 0.1019 -0.1501)
OKLCHoklch(38.73% 0.181 304.2)
XYZxyz(9.6342, 4.8116, 26.8013)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1690 #4B9016
analogous
#1E1690 #5B1690 #901688
triadic
#5B1690 #905B16 #16905B
tetradic
#5B1690 #901E16 #4B9016 #168890
square
#5B1690 #901E16 #4B9016 #168890
split-complementary
#5B1690 #889016 #16901E
monochromatic
#180626 #390E5B #5B1690 #7D1EC5 #9B3FE2

Accessibility & contrast

On white

10.70
#5B1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#5B1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1690
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1690#FFFFFF#000000##FFFFFF
##5B16901.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#503955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #5b1690;
/* rgb */ color: rgb(91, 22, 144);
/* oklch */ color: oklch(38.7% 0.181 304.2);
Tailwind
colors: {
  custom: {
    50: '#8f5eb1',
    500: '#5b1690',
    950: '#000000',
  },
}
SCSS
$custom: #5b1690;
$custom-light: #8f5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1690",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 273.934,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38733,
    "c": 0.1814,
    "h": 304.2
  },
  "luminance": 0.04812
}

Semantic roles & 50–950 ramp

primary
#5B1690
secondary
#78C240
accent
#F03888
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5B1690

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

Preview Lab → · Contrast checker → · Palette generator →

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