#5F1967#5F1967

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

Color values

HEX#5F1967
RGBrgb(95, 25, 103)
HSLhsl(294, 61%, 25%)
HSVhsv(294, 76%, 40%)
CMYKcmyk(7.8%, 75.7%, 0%, 59.6%)
CIE-LABlab(24.02, 42.08, -30.04)
CIE-LCHlch(24.02, 51.70, 324.48°)
OKLaboklab(36.34% 0.113 -0.0838)
OKLCHoklch(36.34% 0.141 323.4)
XYZxyz(7.5149, 4.1079, 13.2264)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1967 #216719
analogous
#381967 #5F1967 #671948
triadic
#5F1967 #675F19 #19675F
tetradic
#5F1967 #673819 #216719 #194867
square
#5F1967 #673819 #216719 #194867
split-complementary
#5F1967 #486719 #196738
monochromatic
#170619 #320D36 #5F1967 #8C2598 #BA31C9

Accessibility & contrast

On white

11.53
#5F1967 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#5F1967 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1967
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1967#FFFFFF#000000##FFFFFF
##5F19671.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003469
Deuteranopia (green-blind)
#263C65
Tritanopia (blue-blind)
#61273E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1967;
/* rgb */ color: rgb(95, 25, 103);
/* oklch */ color: oklch(36.3% 0.141 323.4);
Tailwind
colors: {
  custom: {
    50: '#8f5e93',
    500: '#5f1967',
    950: '#000000',
  },
}
SCSS
$custom: #5f1967;
$custom-light: #8f5e93;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1967",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 103
  },
  "hsl": {
    "h": 293.846,
    "s": 60.938,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.14065,
    "h": 323.4
  },
  "luminance": 0.04107
}

Semantic roles & 50–950 ramp

primary
#5F1967
secondary
#499D3F
accent
#E44454
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D050D
muted
#7E797E

Preview Lab

Preview with #5F1967

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

Preview Lab → · Contrast checker → · Palette generator →

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