#581675#581675

#581675 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.154 H 312.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#581675
RGBrgb(88, 22, 117)
HSLhsl(282, 68%, 27%)
HSVhsv(282, 81%, 46%)
CMYKcmyk(24.8%, 81.2%, 0%, 54.1%)
CIE-LABlab(23.45, 44.63, -40.08)
CIE-LCHlch(23.45, 59.98, 318.07°)
OKLaboklab(36.02% 0.1048 -0.1134)
OKLCHoklch(36.02% 0.154 312.7)
XYZxyz(7.5217, 3.9331, 17.1891)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581675 #337516
analogous
#281675 #581675 #751663
triadic
#581675 #755816 #167558
tetradic
#581675 #752816 #337516 #166375
square
#581675 #752816 #337516 #166375
split-complementary
#581675 #637516 #167528
monochromatic
#13051A #310C41 #581675 #7F20A9 #A42ED8

Accessibility & contrast

On white

11.75
#581675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581675
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581675#FFFFFF#000000##FFFFFF
##5816751.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#073973
Tritanopia (blue-blind)
#552D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581675;
/* rgb */ color: rgb(88, 22, 117);
/* oklch */ color: oklch(36.0% 0.154 312.7);
Tailwind
colors: {
  custom: {
    50: '#8b5c9d',
    500: '#581675',
    950: '#000000',
  },
}
SCSS
$custom: #581675;
$custom-light: #8b5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581675",
  "rgb": {
    "r": 88,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 281.684,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36016,
    "c": 0.15444,
    "h": 312.7
  },
  "luminance": 0.03933
}

Semantic roles & 50–950 ramp

primary
#581675
secondary
#5EAB3C
accent
#EB3D72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581675

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

Preview Lab → · Contrast checker → · Palette generator →

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