#581575#581575

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

Color values

HEX#581575
RGBrgb(88, 21, 117)
HSLhsl(282, 70%, 27%)
HSVhsv(282, 82%, 46%)
CMYKcmyk(24.8%, 82.1%, 0%, 54.1%)
CIE-LABlab(23.32, 44.99, -40.28)
CIE-LCHlch(23.32, 60.39, 318.16°)
OKLaboklab(35.93% 0.1057 -0.114)
OKLCHoklch(35.93% 0.155 312.8)
XYZxyz(7.5030, 3.8956, 17.1829)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581575 #327515
analogous
#281575 #581575 #751562
triadic
#581575 #755815 #157558
tetradic
#581575 #752815 #327515 #156275
square
#581575 #752815 #327515 #156275
split-complementary
#581575 #627515 #157528
monochromatic
#14051A #310C41 #581575 #7F1EA9 #A52BD9

Accessibility & contrast

On white

11.80
#581575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#581575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581575
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581575#FFFFFF#000000##FFFFFF
##5815751.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#063973
Tritanopia (blue-blind)
#552C45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581575;
/* rgb */ color: rgb(88, 21, 117);
/* oklch */ color: oklch(35.9% 0.155 312.8);
Tailwind
colors: {
  custom: {
    50: '#8b5c9d',
    500: '#581575',
    950: '#000000',
  },
}
SCSS
$custom: #581575;
$custom-light: #8b5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581575",
  "rgb": {
    "r": 88,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 281.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35928,
    "c": 0.15548,
    "h": 312.8
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#581575
secondary
#5DAB3B
accent
#EC3B71
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581575

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

Preview Lab → · Contrast checker → · Palette generator →

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