#581758#581758

#581758 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.0% C 0.126 H 327.9°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#581758
RGBrgb(88, 23, 88)
HSLhsl(300, 59%, 22%)
HSVhsv(300, 74%, 35%)
CMYKcmyk(0%, 73.9%, 0%, 65.5%)
CIE-LABlab(21.55, 38.24, -24.16)
CIE-LCHlch(21.55, 45.23, 327.71°)
OKLaboklab(34.02% 0.1066 -0.0669)
OKLCHoklch(34.02% 0.126 327.9)
XYZxyz(6.0923, 3.3925, 9.5646)
Luminance0.0339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581758 #175817
analogous
#381758 #581758 #581738
triadic
#581758 #585817 #175858
tetradic
#581758 #583817 #175817 #173858
square
#581758 #583817 #175817 #173858
split-complementary
#581758 #385817 #175838
monochromatic
#180618 #270A27 #581758 #892489 #B930B9

Accessibility & contrast

On white

12.51
#581758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#581758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581758
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581758#FFFFFF#000000##FFFFFF
##5817581.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2E5A
Deuteranopia (green-blind)
#283756
Tritanopia (blue-blind)
#5B2035
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581758;
/* rgb */ color: rgb(88, 23, 88);
/* oklch */ color: oklch(34.0% 0.126 327.9);
Tailwind
colors: {
  custom: {
    50: '#8a5b87',
    500: '#581758',
    950: '#000000',
  },
}
SCSS
$custom: #581758;
$custom-light: #8a5b87;
$custom-dark: #000000;
JSON
{
  "hex": "#581758",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 300,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.34018,
    "c": 0.12586,
    "h": 327.9
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#581758
secondary
#3C8F3C
accent
#E24646
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581758

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

Preview Lab → · Contrast checker → · Palette generator →

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