#5F1699#5F1699

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

Color values

HEX#5F1699
RGBrgb(95, 22, 153)
HSLhsl(273, 75%, 34%)
HSVhsv(273, 86%, 60%)
CMYKcmyk(37.9%, 85.6%, 0%, 40%)
CIE-LABlab(27.59, 53.94, -55.83)
CIE-LCHlch(27.59, 77.63, 314.02°)
OKLaboklab(40.07% 0.1049 -0.1594)
OKLCHoklch(40.07% 0.191 303.3)
XYZxyz(10.7546, 5.3066, 30.5885)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1699 #509916
analogous
#1E1699 #5F1699 #991692
triadic
#5F1699 #995F16 #16995F
tetradic
#5F1699 #991E16 #509916 #169299
square
#5F1699 #991E16 #509916 #169299
split-complementary
#5F1699 #929916 #16991E
monochromatic
#1D072E #3E0E63 #5F1699 #801ECF #9E45E4

Accessibility & contrast

On white

10.19
#5F1699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#5F1699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1699
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1699#FFFFFF#000000##FFFFFF
##5F16991.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1699;
/* rgb */ color: rgb(95, 22, 153);
/* oklch */ color: oklch(40.1% 0.191 303.3);
Tailwind
colors: {
  custom: {
    50: '#935fb8',
    500: '#5f1699',
    950: '#000000',
  },
}
SCSS
$custom: #5f1699;
$custom-light: #935fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1699",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 153
  },
  "hsl": {
    "h": 273.435,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.19084,
    "h": 303.3
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#5F1699
secondary
#7EC546
accent
#F13689
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5F1699

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

Preview Lab → · Contrast checker → · Palette generator →

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