#581767#581767

#581767 is a dark, vivid purple. Relative luminance 0.037; OKLCH L 35.0% C 0.140 H 319.3°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#581767
RGBrgb(88, 23, 103)
HSLhsl(289, 63%, 25%)
HSVhsv(289, 78%, 40%)
CMYKcmyk(14.6%, 77.7%, 0%, 59.6%)
CIE-LABlab(22.54, 41.24, -32.49)
CIE-LCHlch(22.54, 52.50, 321.77°)
OKLaboklab(35.04% 0.1061 -0.0911)
OKLCHoklch(35.04% 0.14 319.3)
XYZxyz(6.7788, 3.6671, 13.1801)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581767 #266717
analogous
#301767 #581767 #67174E
triadic
#581767 #675817 #176758
tetradic
#581767 #673017 #266717 #174E67
square
#581767 #673017 #266717 #174E67
split-complementary
#581767 #4E6717 #176730
monochromatic
#150619 #2D0C35 #581767 #832299 #AD2DCB

Accessibility & contrast

On white

12.11
#581767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#581767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581767
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581767#FFFFFF#000000##FFFFFF
##5817671.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#1D3865
Tritanopia (blue-blind)
#58273E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #581767;
/* rgb */ color: rgb(88, 23, 103);
/* oklch */ color: oklch(35.0% 0.140 319.3);
Tailwind
colors: {
  custom: {
    50: '#8a5c93',
    500: '#581767',
    950: '#000000',
  },
}
SCSS
$custom: #581767;
$custom-light: #8a5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#581767",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 288.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.35041,
    "c": 0.13984,
    "h": 319.3
  },
  "luminance": 0.03667
}

Semantic roles & 50–950 ramp

primary
#581767
secondary
#4F9D3D
accent
#E74160
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581767

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

Preview Lab → · Contrast checker → · Palette generator →

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