#5F1483#5F1483

#5F1483 is a dark, vivid purple. Relative luminance 0.046; OKLCH L 38.0% C 0.172 H 311.1°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#5F1483
RGBrgb(95, 20, 131)
HSLhsl(281, 74%, 30%)
HSVhsv(281, 85%, 51%)
CMYKcmyk(27.5%, 84.7%, 0%, 48.6%)
CIE-LABlab(25.48, 49.66, -45.62)
CIE-LCHlch(25.48, 67.43, 317.43°)
OKLaboklab(38.02% 0.113 -0.1294)
OKLCHoklch(38.02% 0.172 311.1)
XYZxyz(9.0654, 4.5721, 21.8733)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1483 #388314
analogous
#281483 #5F1483 #83146F
triadic
#5F1483 #835F14 #14835F
tetradic
#5F1483 #832814 #388314 #146F83
square
#5F1483 #832814 #388314 #146F83
split-complementary
#5F1483 #6F8314 #148328
monochromatic
#13041B #380C4E #5F1483 #861CB8 #A732E0

Accessibility & contrast

On white

10.97
#5F1483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#5F1483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1483
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1483#FFFFFF#000000##FFFFFF
##5F14831.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003E81
Tritanopia (blue-blind)
#5A314D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #5f1483;
/* rgb */ color: rgb(95, 20, 131);
/* oklch */ color: oklch(38.0% 0.172 311.1);
Tailwind
colors: {
  custom: {
    50: '#915da8',
    500: '#5f1483',
    950: '#000000',
  },
}
SCSS
$custom: #5f1483;
$custom-light: #915da8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1483",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 131
  },
  "hsl": {
    "h": 280.541,
    "s": 73.51,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3802,
    "c": 0.17182,
    "h": 311.1
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#5F1483
secondary
#63B83B
accent
#F03873
background
#F9F5FA
surface
#F2E9F4
border
#CCC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #5F1483

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

Preview Lab → · Contrast checker → · Palette generator →

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