#581875#581875

#581875 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.2% C 0.152 H 312.6°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#581875
RGBrgb(88, 24, 117)
HSLhsl(281, 66%, 28%)
HSVhsv(281, 79%, 46%)
CMYKcmyk(24.8%, 79.5%, 0%, 54.1%)
CIE-LABlab(23.71, 43.87, -39.65)
CIE-LCHlch(23.71, 59.13, 317.89°)
OKLaboklab(36.2% 0.103 -0.1122)
OKLCHoklch(36.2% 0.152 312.6)
XYZxyz(7.5614, 4.0126, 17.2024)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581875 #357518
analogous
#291875 #581875 #751864
triadic
#581875 #755818 #187558
tetradic
#581875 #752918 #357518 #186475
square
#581875 #752918 #357518 #186475
split-complementary
#581875 #647518 #187529
monochromatic
#130519 #320E42 #581875 #7E22A8 #A232D5

Accessibility & contrast

On white

11.65
#581875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#581875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581875
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581875#FFFFFF#000000##FFFFFF
##5818751.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#0A3A73
Tritanopia (blue-blind)
#552E46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581875;
/* rgb */ color: rgb(88, 24, 117);
/* oklch */ color: oklch(36.2% 0.152 312.6);
Tailwind
colors: {
  custom: {
    50: '#8b5d9d',
    500: '#581875',
    950: '#000000',
  },
}
SCSS
$custom: #581875;
$custom-light: #8b5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581875",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 281.29,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36202,
    "c": 0.15227,
    "h": 312.6
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#581875
secondary
#60AA3F
accent
#E93F74
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581875

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

Preview Lab → · Contrast checker → · Palette generator →

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