#581F93#581F93

#581F93 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.175 H 300.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#581F93
RGBrgb(88, 31, 147)
HSLhsl(269, 65%, 35%)
HSVhsv(269, 79%, 58%)
CMYKcmyk(40.1%, 78.9%, 0%, 42.4%)
CIE-LABlab(27.19, 48.14, -52.84)
CIE-LCHlch(27.19, 71.48, 312.33°)
OKLaboklab(39.42% 0.0894 -0.151)
OKLCHoklch(39.42% 0.175 300.6)
XYZxyz(9.7796, 5.1612, 28.0791)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581F93 #5A931F
analogous
#1F2093 #581F93 #921F93
triadic
#581F93 #93581F #1F9358
tetradic
#581F93 #931F20 #5A931F #1F9392
square
#581F93 #931F20 #5A931F #1F9392
split-complementary
#581F93 #93921F #20931F
monochromatic
#1B0A2E #3A1460 #581F93 #762AC6 #9552DA

Accessibility & contrast

On white

10.33
#581F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#581F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581F93
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581F93#FFFFFF#000000##FFFFFF
##581F931.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#4A3E58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #581f93;
/* rgb */ color: rgb(88, 31, 147);
/* oklch */ color: oklch(39.4% 0.175 300.6);
Tailwind
colors: {
  custom: {
    50: '#8d62b4',
    500: '#581f93',
    950: '#000000',
  },
}
SCSS
$custom: #581f93;
$custom-light: #8d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#581f93",
  "rgb": {
    "r": 88,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 269.483,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39418,
    "c": 0.17546,
    "h": 300.6
  },
  "luminance": 0.05161
}

Semantic roles & 50–950 ramp

primary
#581F93
secondary
#88BE50
accent
#E84095
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #581F93

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

Preview Lab → · Contrast checker → · Palette generator →

#581F93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva