#5F1367#5F1367

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

Color values

HEX#5F1367
RGBrgb(95, 19, 103)
HSLhsl(294, 69%, 24%)
HSVhsv(294, 82%, 40%)
CMYKcmyk(7.8%, 81.6%, 0%, 59.6%)
CIE-LABlab(23.27, 44.26, -31.26)
CIE-LCHlch(23.27, 54.18, 324.77°)
OKLaboklab(35.8% 0.1189 -0.0873)
OKLCHoklch(35.8% 0.148 323.7)
XYZxyz(7.4002, 3.8784, 13.1882)
Luminance0.0388 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1367 #1B6713
analogous
#351367 #5F1367 #671345
triadic
#5F1367 #675F13 #13675F
tetradic
#5F1367 #673513 #1B6713 #134567
square
#5F1367 #673513 #1B6713 #134567
split-complementary
#5F1367 #456713 #136735
monochromatic
#18051A #2F0933 #5F1367 #8F1D9B #BE26CE

Accessibility & contrast

On white

11.83
#5F1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1367
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1367#FFFFFF#000000##FFFFFF
##5F13671.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#233A65
Tritanopia (blue-blind)
#61233D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1367;
/* rgb */ color: rgb(95, 19, 103);
/* oklch */ color: oklch(35.8% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#905b93',
    500: '#5f1367',
    950: '#000000',
  },
}
SCSS
$custom: #5f1367;
$custom-light: #905b93;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1367",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 294.286,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35799,
    "c": 0.14751,
    "h": 323.7
  },
  "luminance": 0.03878
}

Semantic roles & 50–950 ramp

primary
#5F1367
secondary
#419E37
accent
#EC3C4D
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1367

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

Preview Lab → · Contrast checker → · Palette generator →

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