#5F1475#5F1475

#5F1475 is a dark, vivid purple. Relative luminance 0.042; OKLCH L 36.9% C 0.159 H 316.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#5F1475
RGBrgb(95, 20, 117)
HSLhsl(286, 71%, 27%)
HSVhsv(286, 83%, 46%)
CMYKcmyk(18.8%, 82.9%, 0%, 54.1%)
CIE-LABlab(24.38, 46.71, -38.52)
CIE-LCHlch(24.38, 60.54, 320.49°)
OKLaboklab(36.9% 0.1162 -0.1086)
OKLCHoklch(36.9% 0.159 316.9)
XYZxyz(8.1799, 4.2179, 17.2094)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1475 #2A7514
analogous
#2F1475 #5F1475 #75145B
triadic
#5F1475 #755F14 #14755F
tetradic
#5F1475 #752F14 #2A7514 #145B75
square
#5F1475 #752F14 #2A7514 #145B75
split-complementary
#5F1475 #5B7514 #14752F
monochromatic
#15041A #350B41 #5F1475 #891DA9 #B229DA

Accessibility & contrast

On white

11.39
#5F1475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#5F1475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1475
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1475#FFFFFF#000000##FFFFFF
##5F14751.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#153C73
Tritanopia (blue-blind)
#5E2B45
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #5f1475;
/* rgb */ color: rgb(95, 20, 117);
/* oklch */ color: oklch(36.9% 0.159 316.9);
Tailwind
colors: {
  custom: {
    50: '#905c9d',
    500: '#5f1475',
    950: '#000000',
  },
}
SCSS
$custom: #5f1475;
$custom-light: #905c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1475",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 286.392,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.15898,
    "h": 316.9
  },
  "luminance": 0.04218
}

Semantic roles & 50–950 ramp

primary
#5F1475
secondary
#53AB3A
accent
#EE3A63
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5F1475

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

Preview Lab → · Contrast checker → · Palette generator →

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