#5F1083#5F1083

#5F1083 is a dark, vivid purple. Relative luminance 0.044; OKLCH L 37.7% C 0.175 H 311.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#5F1083
RGBrgb(95, 16, 131)
HSLhsl(281, 78%, 29%)
HSVhsv(281, 88%, 51%)
CMYKcmyk(27.5%, 87.8%, 0%, 48.6%)
CIE-LABlab(25.08, 50.82, -46.26)
CIE-LCHlch(25.08, 68.72, 317.69°)
OKLaboklab(37.74% 0.1158 -0.1313)
OKLCHoklch(37.74% 0.175 311.4)
XYZxyz(9.0006, 4.4424, 21.8517)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1083 #348310
analogous
#251083 #5F1083 #83106E
triadic
#5F1083 #835F10 #10835F
tetradic
#5F1083 #832510 #348310 #106E83
square
#5F1083 #832510 #348310 #106E83
split-complementary
#5F1083 #6E8310 #108325
monochromatic
#14031B #37094C #5F1083 #8717BA #AA29E5

Accessibility & contrast

On white

11.12
#5F1083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#5F1083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1083
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1083#FFFFFF#000000##FFFFFF
##5F10831.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003D81
Tritanopia (blue-blind)
#5A304C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f1083;
/* rgb */ color: rgb(95, 16, 131);
/* oklch */ color: oklch(37.7% 0.175 311.4);
Tailwind
colors: {
  custom: {
    50: '#915ca8',
    500: '#5f1083',
    950: '#000000',
  },
}
SCSS
$custom: #5f1083;
$custom-light: #915ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1083",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 131
  },
  "hsl": {
    "h": 281.217,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37745,
    "c": 0.17504,
    "h": 311.4
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#5F1083
secondary
#5FB936
accent
#F53370
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5F1083

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

Preview Lab → · Contrast checker → · Palette generator →

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