#581E75#581E75

#581E75 is a dark, vivid purple. Relative luminance 0.043; OKLCH L 36.8% C 0.145 H 311.9°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#581E75
RGBrgb(88, 30, 117)
HSLhsl(280, 59%, 29%)
HSVhsv(280, 74%, 46%)
CMYKcmyk(24.8%, 74.4%, 0%, 54.1%)
CIE-LABlab(24.60, 41.34, -38.21)
CIE-LCHlch(24.60, 56.29, 317.25°)
OKLaboklab(36.83% 0.0968 -0.108)
OKLCHoklch(36.83% 0.145 311.9)
XYZxyz(7.6991, 4.2878, 17.2482)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581E75 #3B751E
analogous
#2D1E75 #581E75 #751E67
triadic
#581E75 #75581E #1E7558
tetradic
#581E75 #752D1E #3B751E #1E6775
square
#581E75 #752D1E #3B751E #1E6775
split-complementary
#581E75 #67751E #1E752D
monochromatic
#120618 #331244 #581E75 #7D2AA6 #9E40CE

Accessibility & contrast

On white

11.30
#581E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#581E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581E75
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581E75#FFFFFF#000000##FFFFFF
##581E751.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#133C73
Tritanopia (blue-blind)
#543147
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #581e75;
/* rgb */ color: rgb(88, 30, 117);
/* oklch */ color: oklch(36.8% 0.145 311.9);
Tailwind
colors: {
  custom: {
    50: '#8b609d',
    500: '#581e75',
    950: '#000000',
  },
}
SCSS
$custom: #581e75;
$custom-light: #8b609d;
$custom-dark: #000000;
JSON
{
  "hex": "#581e75",
  "rgb": {
    "r": 88,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 280,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36831,
    "c": 0.14502,
    "h": 311.9
  },
  "luminance": 0.04288
}

Semantic roles & 50–950 ramp

primary
#581E75
secondary
#67A946
accent
#E2457A
background
#F8F5F9
surface
#F0EAF2
border
#CBC6CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581E75

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

Preview Lab → · Contrast checker → · Palette generator →

#581E75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva