#5F1663#5F1663

#5F1663 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.141 H 325.7°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#5F1663
RGBrgb(95, 22, 99)
HSLhsl(297, 64%, 24%)
HSVhsv(297, 78%, 39%)
CMYKcmyk(4%, 77.8%, 0%, 61.2%)
CIE-LABlab(23.37, 42.45, -28.48)
CIE-LCHlch(23.37, 51.12, 326.14°)
OKLaboklab(35.79% 0.1163 -0.0792)
OKLCHoklch(35.79% 0.141 325.7)
XYZxyz(7.2582, 3.9081, 12.1740)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1663 #1A6316
analogous
#381663 #5F1663 #631640
triadic
#5F1663 #635F16 #16635F
tetradic
#5F1663 #633816 #1A6316 #164063
square
#5F1663 #633816 #1A6316 #164063
split-complementary
#5F1663 #406316 #166338
monochromatic
#180619 #2F0B31 #5F1663 #8F2195 #BF2CC7

Accessibility & contrast

On white

11.79
#5F1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#5F1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1663
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1663#FFFFFF#000000##FFFFFF
##5F16631.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013265
Deuteranopia (green-blind)
#273B61
Tritanopia (blue-blind)
#61233B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1663;
/* rgb */ color: rgb(95, 22, 99);
/* oklch */ color: oklch(35.8% 0.141 325.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c90',
    500: '#5f1663',
    950: '#000000',
  },
}
SCSS
$custom: #5f1663;
$custom-light: #8f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1663",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 296.883,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.14069,
    "h": 325.7
  },
  "luminance": 0.03908
}

Semantic roles & 50–950 ramp

primary
#5F1663
secondary
#409A3B
accent
#E7414A
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1663

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

Preview Lab → · Contrast checker → · Palette generator →

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