#5E1699#5E1699

#5E1699 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.9% C 0.191 H 302.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#5E1699
RGBrgb(94, 22, 153)
HSLhsl(273, 75%, 34%)
HSVhsv(273, 86%, 60%)
CMYKcmyk(38.6%, 85.6%, 0%, 40%)
CIE-LABlab(27.44, 53.80, -56.08)
CIE-LCHlch(27.44, 77.71, 313.81°)
OKLaboklab(39.94% 0.1034 -0.1602)
OKLCHoklch(39.94% 0.191 302.8)
XYZxyz(10.6514, 5.2534, 30.5837)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1699 #519916
analogous
#1D1699 #5E1699 #991693
triadic
#5E1699 #995E16 #16995E
tetradic
#5E1699 #991D16 #519916 #169399
square
#5E1699 #991D16 #519916 #169399
split-complementary
#5E1699 #939916 #16991D
monochromatic
#1C072E #3D0E63 #5E1699 #7F1ECF #9D45E4

Accessibility & contrast

On white

10.24
#5E1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#5E1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1699
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1699#FFFFFF#000000##FFFFFF
##5E16991.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#513C5A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #5e1699;
/* rgb */ color: rgb(94, 22, 153);
/* oklch */ color: oklch(39.9% 0.191 302.8);
Tailwind
colors: {
  custom: {
    50: '#925fb8',
    500: '#5e1699',
    950: '#000000',
  },
}
SCSS
$custom: #5e1699;
$custom-light: #925fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1699",
  "rgb": {
    "r": 94,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 272.977,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.19065,
    "h": 302.8
  },
  "luminance": 0.05253
}

Semantic roles & 50–950 ramp

primary
#5E1699
secondary
#7FC546
accent
#F1368B
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5E1699

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

Preview Lab → · Contrast checker → · Palette generator →

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