#5F1679#5F1679

#5F1679 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.4% C 0.161 H 315.0°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#5F1679
RGBrgb(95, 22, 121)
HSLhsl(284, 69%, 28%)
HSVhsv(284, 82%, 47%)
CMYKcmyk(21.5%, 81.8%, 0%, 52.5%)
CIE-LABlab(24.91, 46.87, -40.21)
CIE-LCHlch(24.91, 61.75, 319.37°)
OKLaboklab(37.38% 0.1137 -0.1135)
OKLCHoklch(37.38% 0.161 315)
XYZxyz(8.4568, 4.3875, 18.4869)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1679 #307916
analogous
#2D1679 #5F1679 #791662
triadic
#5F1679 #795F16 #16795F
tetradic
#5F1679 #792D16 #307916 #166279
square
#5F1679 #792D16 #307916 #166279
split-complementary
#5F1679 #627916 #16792D
monochromatic
#14051A #360D45 #5F1679 #881FAD #AD30D9

Accessibility & contrast

On white

11.19
#5F1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#5F1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1679
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1679#FFFFFF#000000##FFFFFF
##5F16791.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#103D77
Tritanopia (blue-blind)
#5D2D48
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f1679;
/* rgb */ color: rgb(95, 22, 121);
/* oklch */ color: oklch(37.4% 0.161 315.0);
Tailwind
colors: {
  custom: {
    50: '#905da0',
    500: '#5f1679',
    950: '#000000',
  },
}
SCSS
$custom: #5f1679;
$custom-light: #905da0;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1679",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 284.242,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.16068,
    "h": 315
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#5F1679
secondary
#5AAE3D
accent
#EC3C6A
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D050F
muted
#7E797E

Preview Lab

Preview with #5F1679

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

Preview Lab → · Contrast checker → · Palette generator →

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