#581B75#581B75

#581B75 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.5% C 0.149 H 312.2°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#581B75
RGBrgb(88, 27, 117)
HSLhsl(281, 63%, 28%)
HSVhsv(281, 77%, 46%)
CMYKcmyk(24.8%, 76.9%, 0%, 54.1%)
CIE-LABlab(24.14, 42.65, -38.96)
CIE-LCHlch(24.14, 57.76, 317.59°)
OKLaboklab(36.5% 0.1 -0.1102)
OKLCHoklch(36.5% 0.149 312.2)
XYZxyz(7.6267, 4.1431, 17.2241)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581B75 #38751B
analogous
#2B1B75 #581B75 #751B65
triadic
#581B75 #75581B #1B7558
tetradic
#581B75 #752B1B #38751B #1B6575
square
#581B75 #752B1B #38751B #1B6575
split-complementary
#581B75 #65751B #1B752B
monochromatic
#130619 #331043 #581B75 #7D26A7 #A039D1

Accessibility & contrast

On white

11.48
#581B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#581B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581B75
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581B75#FFFFFF#000000##FFFFFF
##581B751.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#0F3B73
Tritanopia (blue-blind)
#552F46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581b75;
/* rgb */ color: rgb(88, 27, 117);
/* oklch */ color: oklch(36.5% 0.149 312.2);
Tailwind
colors: {
  custom: {
    50: '#8b5e9d',
    500: '#581b75',
    950: '#000000',
  },
}
SCSS
$custom: #581b75;
$custom-light: #8b5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581b75",
  "rgb": {
    "r": 88,
    "g": 27,
    "b": 117
  },
  "hsl": {
    "h": 280.667,
    "s": 62.5,
    "l": 28.235
  },
  "oklch": {
    "l": 0.36503,
    "c": 0.14878,
    "h": 312.2
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#581B75
secondary
#64A942
accent
#E64277
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581B75

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

Preview Lab → · Contrast checker → · Palette generator →

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