#5F1390#5F1390

#5F1390 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 39.1% C 0.185 H 306.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#5F1390
RGBrgb(95, 19, 144)
HSLhsl(276, 77%, 32%)
HSVhsv(276, 87%, 56%)
CMYKcmyk(34%, 86.8%, 0%, 43.5%)
CIE-LABlab(26.48, 52.81, -52.10)
CIE-LCHlch(26.48, 74.18, 315.39°)
OKLaboklab(39.06% 0.1098 -0.1484)
OKLCHoklch(39.06% 0.185 306.5)
XYZxyz(9.9851, 4.9124, 26.8023)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1390 #449013
analogous
#211390 #5F1390 #901383
triadic
#5F1390 #905F13 #13905F
tetradic
#5F1390 #902113 #449013 #138390
square
#5F1390 #902113 #449013 #138390
split-complementary
#5F1390 #839013 #139021
monochromatic
#180524 #3B0C5A #5F1390 #831AC6 #A139E5

Accessibility & contrast

On white

10.59
#5F1390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#5F1390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1390
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1390#FFFFFF#000000##FFFFFF
##5F13901.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#563755
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #5f1390;
/* rgb */ color: rgb(95, 19, 144);
/* oklch */ color: oklch(39.1% 0.185 306.5);
Tailwind
colors: {
  custom: {
    50: '#925db1',
    500: '#5f1390',
    950: '#000000',
  },
}
SCSS
$custom: #5f1390;
$custom-light: #925db1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1390",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 276.48,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.18466,
    "h": 306.5
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#5F1390
secondary
#71C43B
accent
#F3357F
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5F1390

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

Preview Lab → · Contrast checker → · Palette generator →

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