#5F1769#5F1769

#5F1769 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.145 H 322.5°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#5F1769
RGBrgb(95, 23, 105)
HSLhsl(293, 64%, 25%)
HSVhsv(293, 78%, 41%)
CMYKcmyk(9.5%, 78.1%, 0%, 58.8%)
CIE-LABlab(23.89, 43.24, -31.56)
CIE-LCHlch(23.89, 53.53, 323.87°)
OKLaboklab(36.29% 0.115 -0.0882)
OKLCHoklch(36.29% 0.145 322.5)
XYZxyz(7.5753, 4.0660, 13.7477)
Luminance0.0407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1769 #216917
analogous
#361769 #5F1769 #69174A
triadic
#5F1769 #695F17 #17695F
tetradic
#5F1769 #693617 #216917 #174A69
square
#5F1769 #693617 #216917 #174A69
split-complementary
#5F1769 #4A6917 #176936
monochromatic
#170519 #320C37 #5F1769 #8C229B #BA2DCD

Accessibility & contrast

On white

11.58
#5F1769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#5F1769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1769
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1769#FFFFFF#000000##FFFFFF
##5F17691.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346B
Deuteranopia (green-blind)
#233C67
Tritanopia (blue-blind)
#60273F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1769;
/* rgb */ color: rgb(95, 23, 105);
/* oklch */ color: oklch(36.3% 0.145 322.5);
Tailwind
colors: {
  custom: {
    50: '#8f5d94',
    500: '#5f1769',
    950: '#000000',
  },
}
SCSS
$custom: #5f1769;
$custom-light: #8f5d94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1769",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 105
  },
  "hsl": {
    "h": 292.683,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.36286,
    "c": 0.14489,
    "h": 322.5
  },
  "luminance": 0.04066
}

Semantic roles & 50–950 ramp

primary
#5F1769
secondary
#499F3D
accent
#E74155
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5F1769

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

Preview Lab → · Contrast checker → · Palette generator →

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