#5F1053#5F1053

#5F1053 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.3% C 0.134 H 335.3°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#5F1053
RGBrgb(95, 16, 83)
HSLhsl(309, 71%, 22%)
HSVhsv(309, 83%, 37%)
CMYKcmyk(0%, 83.2%, 12.6%, 62.7%)
CIE-LABlab(21.68, 41.68, -20.51)
CIE-LCHlch(21.68, 46.45, 333.79°)
OKLaboklab(34.27% 0.1219 -0.0561)
OKLCHoklch(34.27% 0.134 335.3)
XYZxyz(6.4660, 3.4286, 8.5032)
Luminance0.0343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1053 #105F1C
analogous
#44105F #5F1053 #5F102C
triadic
#5F1053 #535F10 #10535F
tetradic
#5F1053 #5F4410 #105F1C #102C5F
square
#5F1053 #5F4410 #105F1C #102C5F
split-complementary
#5F1053 #2C5F10 #105F44
monochromatic
#1A0417 #2B0725 #5F1053 #931981 #C822AF

Accessibility & contrast

On white

12.46
#5F1053 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1053
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1053#FFFFFF#000000##FFFFFF
##5F10531.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102D55
Deuteranopia (green-blind)
#2D3851
Tritanopia (blue-blind)
#641731
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1053;
/* rgb */ color: rgb(95, 16, 83);
/* oklch */ color: oklch(34.3% 0.134 335.3);
Tailwind
colors: {
  custom: {
    50: '#8f5983',
    500: '#5f1053',
    950: '#000000',
  },
}
SCSS
$custom: #5f1053;
$custom-light: #8f5983;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1053",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 83
  },
  "hsl": {
    "h": 309.114,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34271,
    "c": 0.13418,
    "h": 335.3
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#5F1053
secondary
#339842
accent
#EE553A
background
#F9F5F8
surface
#F1E9EF
border
#CBC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5F1053

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

Preview Lab → · Contrast checker → · Palette generator →

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