#581157#581157

#581157 is a dark, vivid purple. Relative luminance 0.032; OKLCH L 33.4% C 0.132 H 328.7°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#581157
RGBrgb(88, 17, 87)
HSLhsl(301, 68%, 21%)
HSVhsv(301, 81%, 35%)
CMYKcmyk(0%, 80.7%, 1.1%, 65.5%)
CIE-LABlab(20.69, 40.33, -24.86)
CIE-LCHlch(20.69, 47.38, 328.35°)
OKLaboklab(33.38% 0.1131 -0.0688)
OKLCHoklch(33.38% 0.132 328.7)
XYZxyz(5.9452, 3.1642, 9.3126)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581157 #115812
analogous
#351158 #581157 #581133
triadic
#581157 #575811 #115758
tetradic
#581157 #583511 #115812 #113358
square
#581157 #583511 #115812 #113358
split-complementary
#581157 #335811 #115835
monochromatic
#1A0519 #250724 #581157 #8B1B8A #BF25BC

Accessibility & contrast

On white

12.86
#581157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#581157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581157
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581157#FFFFFF#000000##FFFFFF
##5811571.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C59
Deuteranopia (green-blind)
#263555
Tritanopia (blue-blind)
#5B1C33
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #581157;
/* rgb */ color: rgb(88, 17, 87);
/* oklch */ color: oklch(33.4% 0.132 328.7);
Tailwind
colors: {
  custom: {
    50: '#8a5887',
    500: '#581157',
    950: '#000000',
  },
}
SCSS
$custom: #581157;
$custom-light: #8a5887;
$custom-dark: #000000;
JSON
{
  "hex": "#581157",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 300.845,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.33381,
    "c": 0.13239,
    "h": 328.7
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#581157
secondary
#349135
accent
#EA403D
background
#F8F5F8
surface
#F0E9EF
border
#CBC5CA
text
#0C040B
muted
#7D797C

Preview Lab

Preview with #581157

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

Preview Lab → · Contrast checker → · Palette generator →

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