#581165#581165

#581165 is a dark, vivid purple. Relative luminance 0.034; OKLCH L 34.4% C 0.145 H 320.8°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#581165
RGBrgb(88, 17, 101)
HSLhsl(291, 71%, 23%)
HSVhsv(291, 83%, 40%)
CMYKcmyk(12.9%, 83.2%, 0%, 60.4%)
CIE-LABlab(21.64, 43.01, -32.63)
CIE-LCHlch(21.64, 53.99, 322.82°)
OKLaboklab(34.36% 0.1121 -0.0915)
OKLCHoklch(34.36% 0.145 320.8)
XYZxyz(6.5736, 3.4155, 12.6224)
Luminance0.0341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581165 #1E6511
analogous
#2E1165 #581165 #651148
triadic
#581165 #655811 #116558
tetradic
#581165 #652E11 #1E6511 #114865
square
#581165 #652E11 #1E6511 #114865
split-complementary
#581165 #486511 #11652E
monochromatic
#17041A #2A0831 #581165 #861A99 #B323CE

Accessibility & contrast

On white

12.48
#581165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#581165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581165
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581165#FFFFFF#000000##FFFFFF
##5811651.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#1B3663
Tritanopia (blue-blind)
#59233B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #581165;
/* rgb */ color: rgb(88, 17, 101);
/* oklch */ color: oklch(34.4% 0.145 320.8);
Tailwind
colors: {
  custom: {
    50: '#8a5991',
    500: '#581165',
    950: '#000000',
  },
}
SCSS
$custom: #581165;
$custom-light: #8a5991;
$custom-dark: #000000;
JSON
{
  "hex": "#581165",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 290.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34357,
    "c": 0.14468,
    "h": 320.8
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#581165
secondary
#459D35
accent
#EE3A56
background
#F8F5F9
surface
#F0E9F1
border
#CBC5CB
text
#0C040D
muted
#7D797E

Preview Lab

Preview with #581165

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

Preview Lab → · Contrast checker → · Palette generator →

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