#5F1069#5F1069

#5F1069 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.7% C 0.152 H 322.8°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#5F1069
RGBrgb(95, 16, 105)
HSLhsl(293, 74%, 24%)
HSVhsv(293, 85%, 41%)
CMYKcmyk(9.5%, 84.8%, 0%, 58.8%)
CIE-LABlab(23.08, 45.57, -32.86)
CIE-LCHlch(23.08, 56.18, 324.21°)
OKLaboklab(35.71% 0.1213 -0.0919)
OKLCHoklch(35.71% 0.152 322.8)
XYZxyz(7.4542, 3.8239, 13.7073)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1069 #1A6910
analogous
#321069 #5F1069 #691046
triadic
#5F1069 #695F10 #10695F
tetradic
#5F1069 #693210 #1A6910 #104669
square
#5F1069 #693210 #1A6910 #104669
split-complementary
#5F1069 #466910 #106932
monochromatic
#18041B #2F0834 #5F1069 #8F189E #BF20D3

Accessibility & contrast

On white

11.90
#5F1069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1069
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1069#FFFFFF#000000##FFFFFF
##5F10691.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#203A67
Tritanopia (blue-blind)
#60233D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f1069;
/* rgb */ color: rgb(95, 16, 105);
/* oklch */ color: oklch(35.7% 0.152 322.8);
Tailwind
colors: {
  custom: {
    50: '#905a94',
    500: '#5f1069',
    950: '#000000',
  },
}
SCSS
$custom: #5f1069;
$custom-light: #905a94;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1069",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 105
  },
  "hsl": {
    "h": 293.258,
    "s": 73.554,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35713,
    "c": 0.15217,
    "h": 322.8
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#5F1069
secondary
#40A134
accent
#F0384C
background
#F9F5F9
surface
#F1E9F1
border
#CBC5CB
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F1069

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

Preview Lab → · Contrast checker → · Palette generator →

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