#581773#581773

#581773 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.9% C 0.151 H 313.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#581773
RGBrgb(88, 23, 115)
HSLhsl(282, 67%, 27%)
HSVhsv(282, 80%, 45%)
CMYKcmyk(23.5%, 80%, 0%, 54.9%)
CIE-LABlab(23.42, 43.81, -38.83)
CIE-LCHlch(23.42, 58.55, 318.45°)
OKLaboklab(35.95% 0.1043 -0.1098)
OKLCHoklch(35.95% 0.151 313.5)
XYZxyz(7.4249, 3.9255, 16.5829)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581773 #327317
analogous
#2A1773 #581773 #731760
triadic
#581773 #735817 #177358
tetradic
#581773 #732A17 #327317 #176073
square
#581773 #732A17 #327317 #176073
split-complementary
#581773 #607317 #17732A
monochromatic
#14051A #310D40 #581773 #7F21A6 #A52FD5

Accessibility & contrast

On white

11.76
#581773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581773
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581773#FFFFFF#000000##FFFFFF
##5817731.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#0D3971
Tritanopia (blue-blind)
#552C44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581773;
/* rgb */ color: rgb(88, 23, 115);
/* oklch */ color: oklch(35.9% 0.151 313.5);
Tailwind
colors: {
  custom: {
    50: '#8b5c9c',
    500: '#581773',
    950: '#000000',
  },
}
SCSS
$custom: #581773;
$custom-light: #8b5c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#581773",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 282.391,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35949,
    "c": 0.15142,
    "h": 313.5
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#581773
secondary
#5DA93D
accent
#EA3E71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581773

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

Preview Lab → · Contrast checker → · Palette generator →

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