#5F1067#5F1067

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

Color values

HEX#5F1067
RGBrgb(95, 16, 103)
HSLhsl(294, 73%, 23%)
HSVhsv(294, 84%, 40%)
CMYKcmyk(7.8%, 84.5%, 0%, 59.6%)
CIE-LABlab(22.94, 45.19, -31.78)
CIE-LCHlch(22.94, 55.25, 324.89°)
OKLaboklab(35.57% 0.1215 -0.0888)
OKLCHoklch(35.57% 0.15 323.8)
XYZxyz(7.3526, 3.7832, 13.1723)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1067 #186710
analogous
#331067 #5F1067 #671043
triadic
#5F1067 #675F10 #10675F
tetradic
#5F1067 #673310 #186710 #104367
square
#5F1067 #673310 #186710 #104367
split-complementary
#5F1067 #436710 #106733
monochromatic
#18041A #2E0832 #5F1067 #90189C #C120D1

Accessibility & contrast

On white

11.95
#5F1067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5F1067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1067
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1067#FFFFFF#000000##FFFFFF
##5F10671.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#213A65
Tritanopia (blue-blind)
#61223C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1067;
/* rgb */ color: rgb(95, 16, 103);
/* oklch */ color: oklch(35.6% 0.150 323.8);
Tailwind
colors: {
  custom: {
    50: '#905a93',
    500: '#5f1067',
    950: '#000000',
  },
}
SCSS
$custom: #5f1067;
$custom-light: #905a93;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1067",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 103
  },
  "hsl": {
    "h": 294.483,
    "s": 73.109,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3557,
    "c": 0.15046,
    "h": 323.8
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#5F1067
secondary
#3D9F33
accent
#F03849
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1067

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

Preview Lab → · Contrast checker → · Palette generator →

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