#581375#581375

#581375 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.8% C 0.157 H 313.0°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#581375
RGBrgb(88, 19, 117)
HSLhsl(282, 72%, 27%)
HSVhsv(282, 84%, 46%)
CMYKcmyk(24.8%, 83.8%, 0%, 54.1%)
CIE-LABlab(23.08, 45.68, -40.67)
CIE-LCHlch(23.08, 61.16, 318.32°)
OKLaboklab(35.76% 0.1074 -0.1151)
OKLCHoklch(35.76% 0.157 313)
XYZxyz(7.4677, 3.8250, 17.1711)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581375 #307513
analogous
#271375 #581375 #751361
triadic
#581375 #755813 #137558
tetradic
#581375 #752713 #307513 #136175
square
#581375 #752713 #307513 #136175
split-complementary
#581375 #617513 #137527
monochromatic
#14041A #300A40 #581375 #801CAA #A627DC

Accessibility & contrast

On white

11.90
#581375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581375 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581375
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581375#FFFFFF#000000##FFFFFF
##5813751.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#033873
Tritanopia (blue-blind)
#552B45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581375;
/* rgb */ color: rgb(88, 19, 117);
/* oklch */ color: oklch(35.8% 0.157 313.0);
Tailwind
colors: {
  custom: {
    50: '#8b5b9d',
    500: '#581375',
    950: '#000000',
  },
}
SCSS
$custom: #581375;
$custom-light: #8b5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581375",
  "rgb": {
    "r": 88,
    "g": 19,
    "b": 117
  },
  "hsl": {
    "h": 282.245,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3576,
    "c": 0.15745,
    "h": 313
  },
  "luminance": 0.03825
}

Semantic roles & 50–950 ramp

primary
#581375
secondary
#5AAB38
accent
#EF396F
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581375

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

Preview Lab → · Contrast checker → · Palette generator →

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