#581475#581475

#581475 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 35.8% C 0.156 H 312.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#581475
RGBrgb(88, 20, 117)
HSLhsl(282, 71%, 27%)
HSVhsv(282, 83%, 46%)
CMYKcmyk(24.8%, 82.9%, 0%, 54.1%)
CIE-LABlab(23.20, 45.34, -40.48)
CIE-LCHlch(23.20, 60.78, 318.24°)
OKLaboklab(35.84% 0.1066 -0.1146)
OKLCHoklch(35.84% 0.156 312.9)
XYZxyz(7.4850, 3.8596, 17.1769)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581475 #317514
analogous
#281475 #581475 #751462
triadic
#581475 #755814 #147558
tetradic
#581475 #752814 #317514 #146275
square
#581475 #752814 #317514 #146275
split-complementary
#581475 #627514 #147528
monochromatic
#14041A #310B41 #581475 #7F1DA9 #A529DA

Accessibility & contrast

On white

11.85
#581475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#581475 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581475
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581475#FFFFFF#000000##FFFFFF
##5814751.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#043973
Tritanopia (blue-blind)
#552C45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581475;
/* rgb */ color: rgb(88, 20, 117);
/* oklch */ color: oklch(35.8% 0.156 312.9);
Tailwind
colors: {
  custom: {
    50: '#8b5b9d',
    500: '#581475',
    950: '#000000',
  },
}
SCSS
$custom: #581475;
$custom-light: #8b5b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581475",
  "rgb": {
    "r": 88,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 282.062,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.35842,
    "c": 0.15648,
    "h": 312.9
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#581475
secondary
#5CAB3A
accent
#EE3A70
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581475

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

Preview Lab → · Contrast checker → · Palette generator →

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