#5F1664#5F1664

#5F1664 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.142 H 325.2°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#5F1664
RGBrgb(95, 22, 100)
HSLhsl(296, 64%, 24%)
HSVhsv(296, 78%, 39%)
CMYKcmyk(5%, 78%, 0%, 60.8%)
CIE-LABlab(23.43, 42.64, -29.03)
CIE-LCHlch(23.43, 51.59, 325.75°)
OKLaboklab(35.85% 0.1163 -0.0808)
OKLCHoklch(35.85% 0.142 325.2)
XYZxyz(7.3063, 3.9273, 12.4273)
Luminance0.0393 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1664 #1B6416
analogous
#381664 #5F1664 #641642
triadic
#5F1664 #645F16 #16645F
tetradic
#5F1664 #643816 #1B6416 #164264
square
#5F1664 #643816 #1B6416 #164264
split-complementary
#5F1664 #426416 #166438
monochromatic
#180619 #2F0B32 #5F1664 #8F2196 #BE2CC8

Accessibility & contrast

On white

11.76
#5F1664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F1664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1664
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1664#FFFFFF#000000##FFFFFF
##5F16641.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003266
Deuteranopia (green-blind)
#273B62
Tritanopia (blue-blind)
#61243C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1664;
/* rgb */ color: rgb(95, 22, 100);
/* oklch */ color: oklch(35.9% 0.142 325.2);
Tailwind
colors: {
  custom: {
    50: '#8f5c90',
    500: '#5f1664',
    950: '#000000',
  },
}
SCSS
$custom: #5f1664;
$custom-light: #8f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1664",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 296.154,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35853,
    "c": 0.14158,
    "h": 325.2
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#5F1664
secondary
#419B3B
accent
#E7414C
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1664

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

Preview Lab → · Contrast checker → · Palette generator →

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