#581785#581785

#581785 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.169 H 306.3°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#581785
RGBrgb(88, 23, 133)
HSLhsl(275, 71%, 31%)
HSVhsv(275, 83%, 52%)
CMYKcmyk(33.8%, 82.7%, 0%, 47.8%)
CIE-LABlab(24.89, 47.89, -47.88)
CIE-LCHlch(24.89, 67.72, 315.01°)
OKLaboklab(37.44% 0.1 -0.1363)
OKLCHoklch(37.44% 0.169 306.3)
XYZxyz(8.5636, 4.3810, 22.5802)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581785 #448517
analogous
#211785 #581785 #85177B
triadic
#581785 #855817 #178558
tetradic
#581785 #852117 #448517 #177B85
square
#581785 #852117 #448517 #177B85
split-complementary
#581785 #7B8517 #178521
monochromatic
#13051D #350E51 #581785 #7B20B9 #9A3ADD

Accessibility & contrast

On white

11.19
#581785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581785
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581785#FFFFFF#000000##FFFFFF
##5817851.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#50344F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581785;
/* rgb */ color: rgb(88, 23, 133);
/* oklch */ color: oklch(37.4% 0.169 306.3);
Tailwind
colors: {
  custom: {
    50: '#8c5da9',
    500: '#581785',
    950: '#000000',
  },
}
SCSS
$custom: #581785;
$custom-light: #8c5da9;
$custom-dark: #000000;
JSON
{
  "hex": "#581785",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 275.455,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37439,
    "c": 0.16909,
    "h": 306.3
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#581785
secondary
#71B93F
accent
#ED3B84
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581785

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

Preview Lab → · Contrast checker → · Palette generator →

#581785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva