#5F1463#5F1463

#5F1463 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.143 H 325.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#5F1463
RGBrgb(95, 20, 99)
HSLhsl(297, 66%, 23%)
HSVhsv(297, 80%, 39%)
CMYKcmyk(4%, 79.8%, 0%, 61.2%)
CIE-LABlab(23.12, 43.16, -28.88)
CIE-LCHlch(23.12, 51.93, 326.22°)
OKLaboklab(35.61% 0.1183 -0.0803)
OKLCHoklch(35.61% 0.143 325.8)
XYZxyz(7.2215, 3.8345, 12.1617)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1463 #186314
analogous
#371463 #5F1463 #63143F
triadic
#5F1463 #635F14 #14635F
tetradic
#5F1463 #633714 #186314 #143F63
square
#5F1463 #633714 #186314 #143F63
split-complementary
#5F1463 #3F6314 #146337
monochromatic
#180519 #2E0A30 #5F1463 #901E96 #C129C9

Accessibility & contrast

On white

11.89
#5F1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1463
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1463#FFFFFF#000000##FFFFFF
##5F14631.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#61223B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1463;
/* rgb */ color: rgb(95, 20, 99);
/* oklch */ color: oklch(35.6% 0.143 325.8);
Tailwind
colors: {
  custom: {
    50: '#8f5b90',
    500: '#5f1463',
    950: '#000000',
  },
}
SCSS
$custom: #5f1463;
$custom-light: #8f5b90;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1463",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 296.962,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.35609,
    "c": 0.14297,
    "h": 325.8
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#5F1463
secondary
#3D9A38
accent
#E93E47
background
#F9F5F8
surface
#F1E9F0
border
#CBC5CB
text
#0D040C
muted
#7E797D

Preview Lab

Preview with #5F1463

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

Preview Lab → · Contrast checker → · Palette generator →

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