#5E1690#5E1690

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

Color values

HEX#5E1690
RGBrgb(94, 22, 144)
HSLhsl(275, 73%, 33%)
HSVhsv(275, 85%, 56%)
CMYKcmyk(34.7%, 84.7%, 0%, 43.5%)
CIE-LABlab(26.64, 51.74, -51.84)
CIE-LCHlch(26.64, 73.24, 314.94°)
OKLaboklab(39.14% 0.1064 -0.1478)
OKLCHoklch(39.14% 0.182 305.7)
XYZxyz(9.9359, 4.9672, 26.8155)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1690 #489016
analogous
#211690 #5E1690 #901685
triadic
#5E1690 #905E16 #16905E
tetradic
#5E1690 #902116 #489016 #168590
square
#5E1690 #902116 #489016 #168590
split-complementary
#5E1690 #859016 #169021
monochromatic
#190626 #3B0E5B #5E1690 #811EC5 #9F3FE2

Accessibility & contrast

On white

10.53
#5E1690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5E1690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1690
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1690#FFFFFF#000000##FFFFFF
##5E16901.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e1690;
/* rgb */ color: rgb(94, 22, 144);
/* oklch */ color: oklch(39.1% 0.182 305.7);
Tailwind
colors: {
  custom: {
    50: '#915eb1',
    500: '#5e1690',
    950: '#000000',
  },
}
SCSS
$custom: #5e1690;
$custom-light: #915eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1690",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 275.41,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.18206,
    "h": 305.7
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#5E1690
secondary
#75C240
accent
#F03883
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #5E1690

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

Preview Lab → · Contrast checker → · Palette generator →

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