#5F106A#5F106A

#5F106A is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.153 H 322.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#5F106A
RGBrgb(95, 16, 106)
HSLhsl(293, 74%, 24%)
HSVhsv(293, 85%, 42%)
CMYKcmyk(10.4%, 84.9%, 0%, 58.4%)
CIE-LABlab(23.15, 45.76, -33.40)
CIE-LCHlch(23.15, 56.65, 323.88°)
OKLaboklab(35.78% 0.1211 -0.0935)
OKLCHoklch(35.78% 0.153 322.3)
XYZxyz(7.5059, 3.8445, 13.9796)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F106A #1B6A10
analogous
#32106A #5F106A #6A1048
triadic
#5F106A #6A5F10 #106A5F
tetradic
#5F106A #6A3210 #1B6A10 #10486A
square
#5F106A #6A3210 #1B6A10 #10486A
split-complementary
#5F106A #486A10 #106A32
monochromatic
#18041B #2F0835 #5F106A #8F189F #BE20D4

Accessibility & contrast

On white

11.87
#5F106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5F106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F106A
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F106A#FFFFFF#000000##FFFFFF
##5F106A1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#1F3A68
Tritanopia (blue-blind)
#60233E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f106a;
/* rgb */ color: rgb(95, 16, 106);
/* oklch */ color: oklch(35.8% 0.153 322.3);
Tailwind
colors: {
  custom: {
    50: '#905a95',
    500: '#5f106a',
    950: '#000000',
  },
}
SCSS
$custom: #5f106a;
$custom-light: #905a95;
$custom-dark: #000000;
JSON
{
  "hex": "#5f106a",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 292.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35785,
    "c": 0.15303,
    "h": 322.3
  },
  "luminance": 0.03844
}

Semantic roles & 50–950 ramp

primary
#5F106A
secondary
#41A234
accent
#F0374E
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040D
muted
#7E797E

Preview Lab

Preview with #5F106A

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

Preview Lab → · Contrast checker → · Palette generator →

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