#5F169F#5F169F

#5F169F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.6% C 0.197 H 301.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#5F169F
RGBrgb(95, 22, 159)
HSLhsl(272, 76%, 35%)
HSVhsv(272, 86%, 62%)
CMYKcmyk(40.3%, 86.2%, 0%, 37.6%)
CIE-LABlab(28.14, 55.33, -58.60)
CIE-LCHlch(28.14, 80.59, 313.36°)
OKLaboklab(40.62% 0.1028 -0.1675)
OKLCHoklch(40.62% 0.197 301.5)
XYZxyz(11.2627, 5.5098, 33.2643)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F169F #569F16
analogous
#1A169F #5F169F #9F169A
triadic
#5F169F #9F5F16 #169F5F
tetradic
#5F169F #9F1A16 #569F16 #169A9F
square
#5F169F #9F1A16 #569F16 #169A9F
split-complementary
#5F169F #9A9F16 #169F1A
monochromatic
#1F0733 #3F0F69 #5F169F #7F1DD5 #9D4AE6

Accessibility & contrast

On white

9.99
#5F169F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#5F169F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F169F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F169F#FFFFFF#000000##FFFFFF
##5F169F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A3
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#503F5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #5f169f;
/* rgb */ color: rgb(95, 22, 159);
/* oklch */ color: oklch(40.6% 0.197 301.5);
Tailwind
colors: {
  custom: {
    50: '#9360bc',
    500: '#5f169f',
    950: '#000000',
  },
}
SCSS
$custom: #5f169f;
$custom-light: #9360bc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f169f",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 159
  },
  "hsl": {
    "h": 271.971,
    "s": 75.691,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.19656,
    "h": 301.5
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#5F169F
secondary
#84C74A
accent
#F2368E
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981

Preview Lab

Preview with #5F169F

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

Preview Lab → · Contrast checker → · Palette generator →

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