#5F1055#5F1055

#5F1055 is a dark, vivid purple. Relative luminance 0.035; OKLCH L 34.4% C 0.136 H 334.0°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#5F1055
RGBrgb(95, 16, 85)
HSLhsl(308, 71%, 22%)
HSVhsv(308, 83%, 37%)
CMYKcmyk(0%, 83.2%, 10.5%, 62.7%)
CIE-LABlab(21.80, 42.01, -21.68)
CIE-LCHlch(21.80, 47.27, 332.70°)
OKLaboklab(34.39% 0.122 -0.0594)
OKLCHoklch(34.39% 0.136 334)
XYZxyz(6.5444, 3.4599, 8.9157)
Luminance0.0346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1055 #105F1A
analogous
#42105F #5F1055 #5F102E
triadic
#5F1055 #555F10 #10555F
tetradic
#5F1055 #5F4210 #105F1A #102E5F
square
#5F1055 #5F4210 #105F1A #102E5F
split-complementary
#5F1055 #2E5F10 #105F42
monochromatic
#1A0417 #2B0726 #5F1055 #931984 #C822B3

Accessibility & contrast

On white

12.41
#5F1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1055 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1055
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1055#FFFFFF#000000##FFFFFF
##5F10551.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2D57
Deuteranopia (green-blind)
#2D3853
Tritanopia (blue-blind)
#641832
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1055;
/* rgb */ color: rgb(95, 16, 85);
/* oklch */ color: oklch(34.4% 0.136 334.0);
Tailwind
colors: {
  custom: {
    50: '#8f5985',
    500: '#5f1055',
    950: '#000000',
  },
}
SCSS
$custom: #5f1055;
$custom-light: #8f5985;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1055",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 307.595,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.3439,
    "c": 0.13573,
    "h": 334
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#5F1055
secondary
#339840
accent
#EE513A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040B
muted
#7E797C

Preview Lab

Preview with #5F1055

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

Preview Lab → · Contrast checker → · Palette generator →

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