#5F1490#5F1490

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

Color values

HEX#5F1490
RGBrgb(95, 20, 144)
HSLhsl(276, 76%, 32%)
HSVhsv(276, 86%, 56%)
CMYKcmyk(34%, 86.1%, 0%, 43.5%)
CIE-LABlab(26.58, 52.51, -51.93)
CIE-LCHlch(26.58, 73.86, 315.32°)
OKLaboklab(39.13% 0.1092 -0.148)
OKLCHoklch(39.13% 0.184 306.4)
XYZxyz(10.0024, 4.9469, 26.8081)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1490 #459014
analogous
#211490 #5F1490 #901483
triadic
#5F1490 #905F14 #14905F
tetradic
#5F1490 #902114 #459014 #148390
square
#5F1490 #902114 #459014 #148390
split-complementary
#5F1490 #839014 #149021
monochromatic
#180525 #3C0D5A #5F1490 #821BC6 #A13BE4

Accessibility & contrast

On white

10.56
#5F1490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#5F1490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1490
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1490#FFFFFF#000000##FFFFFF
##5F14901.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1490;
/* rgb */ color: rgb(95, 20, 144);
/* oklch */ color: oklch(39.1% 0.184 306.4);
Tailwind
colors: {
  custom: {
    50: '#925eb1',
    500: '#5f1490',
    950: '#000000',
  },
}
SCSS
$custom: #5f1490;
$custom-light: #925eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1490",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 276.29,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.1839,
    "h": 306.4
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#5F1490
secondary
#72C33D
accent
#F23680
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #5F1490

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

Preview Lab → · Contrast checker → · Palette generator →

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