#5F1653#5F1653

#5F1653 is a dark, vivid purple. Relative luminance 0.036; OKLCH L 34.8% C 0.127 H 335.5°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#5F1653
RGBrgb(95, 22, 83)
HSLhsl(310, 62%, 23%)
HSVhsv(310, 77%, 37%)
CMYKcmyk(0%, 76.8%, 12.6%, 62.7%)
CIE-LABlab(22.41, 39.59, -19.37)
CIE-LCHlch(22.41, 44.08, 333.93°)
OKLaboklab(34.8% 0.1157 -0.0528)
OKLCHoklch(34.8% 0.127 335.5)
XYZxyz(6.5676, 3.6318, 8.5371)
Luminance0.0363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1653 #165F22
analogous
#46165F #5F1653 #5F162E
triadic
#5F1653 #535F16 #16535F
tetradic
#5F1653 #5F4616 #165F22 #162E5F
square
#5F1653 #5F4616 #165F22 #162E5F
split-complementary
#5F1653 #2E5F16 #165F46
monochromatic
#190616 #2D0A28 #5F1653 #91227E #C22DAA

Accessibility & contrast

On white

12.17
#5F1653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#5F1653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1653
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1653#FFFFFF#000000##FFFFFF
##5F16531.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162F55
Deuteranopia (green-blind)
#303951
Tritanopia (blue-blind)
#641B32
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #5f1653;
/* rgb */ color: rgb(95, 22, 83);
/* oklch */ color: oklch(34.8% 0.127 335.5);
Tailwind
colors: {
  custom: {
    50: '#8f5b83',
    500: '#5f1653',
    950: '#000000',
  },
}
SCSS
$custom: #5f1653;
$custom-light: #8f5b83;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1653",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 83
  },
  "hsl": {
    "h": 309.863,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34796,
    "c": 0.12721,
    "h": 335.5
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#5F1653
secondary
#3B964A
accent
#E55D42
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1653

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

Preview Lab → · Contrast checker → · Palette generator →

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