#581886#581886

#581886 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.169 H 305.8°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#581886
RGBrgb(88, 24, 134)
HSLhsl(275, 70%, 31%)
HSVhsv(275, 82%, 53%)
CMYKcmyk(34.3%, 82.1%, 0%, 47.5%)
CIE-LABlab(25.10, 47.76, -48.16)
CIE-LCHlch(25.10, 67.82, 314.76°)
OKLaboklab(37.61% 0.0989 -0.1372)
OKLCHoklch(37.61% 0.169 305.8)
XYZxyz(8.6533, 4.4493, 22.9526)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581886 #468618
analogous
#211886 #581886 #86187D
triadic
#581886 #865818 #188658
tetradic
#581886 #862118 #468618 #187D86
square
#581886 #862118 #468618 #187D86
split-complementary
#581886 #7D8618 #188621
monochromatic
#14051E #360F52 #581886 #7A21BA #993CDC

Accessibility & contrast

On white

11.11
#581886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#581886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581886
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581886#FFFFFF#000000##FFFFFF
##5818861.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A89
Deuteranopia (green-blind)
#003C84
Tritanopia (blue-blind)
#503550
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581886;
/* rgb */ color: rgb(88, 24, 134);
/* oklch */ color: oklch(37.6% 0.169 305.8);
Tailwind
colors: {
  custom: {
    50: '#8c5eaa',
    500: '#581886',
    950: '#000000',
  },
}
SCSS
$custom: #581886;
$custom-light: #8c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#581886",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 274.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.37613,
    "c": 0.16913,
    "h": 305.8
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#581886
secondary
#73BA40
accent
#EC3B85
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581886

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

Preview Lab → · Contrast checker → · Palette generator →

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