#5F1763#5F1763

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

Color values

HEX#5F1763
RGBrgb(95, 23, 99)
HSLhsl(297, 62%, 24%)
HSVhsv(297, 77%, 39%)
CMYKcmyk(4%, 76.8%, 0%, 61.2%)
CIE-LABlab(23.50, 42.08, -28.27)
CIE-LCHlch(23.50, 50.70, 326.10°)
OKLaboklab(35.88% 0.1153 -0.0786)
OKLCHoklch(35.88% 0.14 325.7)
XYZxyz(7.2777, 3.9470, 12.1805)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1763 #1B6317
analogous
#391763 #5F1763 #631741
triadic
#5F1763 #635F17 #17635F
tetradic
#5F1763 #633917 #1B6317 #174163
square
#5F1763 #633917 #1B6317 #174163
split-complementary
#5F1763 #416317 #176339
monochromatic
#180619 #2F0B31 #5F1763 #8F2395 #BE2EC6

Accessibility & contrast

On white

11.74
#5F1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1763
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1763#FFFFFF#000000##FFFFFF
##5F17631.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#283B61
Tritanopia (blue-blind)
#61243B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f1763;
/* rgb */ color: rgb(95, 23, 99);
/* oklch */ color: oklch(35.9% 0.140 325.7);
Tailwind
colors: {
  custom: {
    50: '#8f5c90',
    500: '#5f1763',
    950: '#000000',
  },
}
SCSS
$custom: #5f1763;
$custom-light: #8f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1763",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 296.842,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35879,
    "c": 0.13951,
    "h": 325.7
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#5F1763
secondary
#419A3C
accent
#E5424B
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1763

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

Preview Lab → · Contrast checker → · Palette generator →

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