#5F1660#5F1660

#5F1660 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.6% C 0.138 H 327.4°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#5F1660
RGBrgb(95, 22, 96)
HSLhsl(299, 63%, 23%)
HSVhsv(299, 77%, 38%)
CMYKcmyk(1%, 77.1%, 0%, 62.4%)
CIE-LABlab(23.18, 41.89, -26.81)
CIE-LCHlch(23.18, 49.74, 327.38°)
OKLaboklab(35.59% 0.1164 -0.0743)
OKLCHoklch(35.59% 0.138 327.4)
XYZxyz(7.1174, 3.8517, 11.4326)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1660 #176016
analogous
#3A1660 #5F1660 #60163C
triadic
#5F1660 #605F16 #16605F
tetradic
#5F1660 #603A16 #176016 #163C60
square
#5F1660 #603A16 #176016 #163C60
split-complementary
#5F1660 #3C6016 #16603A
monochromatic
#190619 #2E0B2E #5F1660 #902192 #C22DC4

Accessibility & contrast

On white

11.86
#5F1660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5F1660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1660
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1660#FFFFFF#000000##FFFFFF
##5F16601.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063162
Deuteranopia (green-blind)
#293A5E
Tritanopia (blue-blind)
#62223A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1660;
/* rgb */ color: rgb(95, 22, 96);
/* oklch */ color: oklch(35.6% 0.138 327.4);
Tailwind
colors: {
  custom: {
    50: '#8f5c8d',
    500: '#5f1660',
    950: '#000000',
  },
}
SCSS
$custom: #5f1660;
$custom-light: #8f5c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1660",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 299.189,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.35589,
    "c": 0.13808,
    "h": 327.4
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#5F1660
secondary
#3C973B
accent
#E64244
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1660

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

Preview Lab → · Contrast checker → · Palette generator →

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