#5F1075#5F1075

#5F1075 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.6% C 0.163 H 317.2°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#5F1075
RGBrgb(95, 16, 117)
HSLhsl(287, 76%, 26%)
HSVhsv(287, 86%, 46%)
CMYKcmyk(18.8%, 86.3%, 0%, 54.1%)
CIE-LABlab(23.96, 47.92, -39.19)
CIE-LCHlch(23.96, 61.91, 320.72°)
OKLaboklab(36.61% 0.1193 -0.1105)
OKLCHoklch(36.61% 0.163 317.2)
XYZxyz(8.1150, 4.0882, 17.1878)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1075 #267510
analogous
#2C1075 #5F1075 #751058
triadic
#5F1075 #755F10 #10755F
tetradic
#5F1075 #752C10 #267510 #105875
square
#5F1075 #752C10 #267510 #105875
split-complementary
#5F1075 #587510 #10752C
monochromatic
#16041B #33093F #5F1075 #8B17AB #B61FE0

Accessibility & contrast

On white

11.55
#5F1075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1075
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1075#FFFFFF#000000##FFFFFF
##5F10751.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#123B73
Tritanopia (blue-blind)
#5E2944
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #5f1075;
/* rgb */ color: rgb(95, 16, 117);
/* oklch */ color: oklch(36.6% 0.163 317.2);
Tailwind
colors: {
  custom: {
    50: '#905b9d',
    500: '#5f1075',
    950: '#000000',
  },
}
SCSS
$custom: #5f1075;
$custom-light: #905b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1075",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 117
  },
  "hsl": {
    "h": 286.931,
    "s": 75.94,
    "l": 26.078
  },
  "oklch": {
    "l": 0.36611,
    "c": 0.1626,
    "h": 317.2
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#5F1075
secondary
#4FAC35
accent
#F3355F
background
#F9F5F9
surface
#F1E9F2
border
#CBC5CC
text
#0D040E
muted
#7E797E

Preview Lab

Preview with #5F1075

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

Preview Lab → · Contrast checker → · Palette generator →

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