#581885#581885

#581885 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.168 H 306.2°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#581885
RGBrgb(88, 24, 133)
HSLhsl(275, 69%, 31%)
HSVhsv(275, 82%, 52%)
CMYKcmyk(33.8%, 82%, 0%, 47.8%)
CIE-LABlab(25.02, 47.52, -47.67)
CIE-LCHlch(25.02, 67.31, 314.91°)
OKLaboklab(37.53% 0.0992 -0.1357)
OKLCHoklch(37.53% 0.168 306.2)
XYZxyz(8.5838, 4.4215, 22.5870)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581885 #458518
analogous
#211885 #581885 #85187B
triadic
#581885 #855818 #188558
tetradic
#581885 #852118 #458518 #187B85
square
#581885 #852118 #458518 #187B85
split-complementary
#581885 #7B8518 #188521
monochromatic
#13051D #360F51 #581885 #7A21B9 #9A3CDC

Accessibility & contrast

On white

11.15
#581885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#581885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581885
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581885#FFFFFF#000000##FFFFFF
##5818851.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#50354F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #581885;
/* rgb */ color: rgb(88, 24, 133);
/* oklch */ color: oklch(37.5% 0.168 306.2);
Tailwind
colors: {
  custom: {
    50: '#8c5ea9',
    500: '#581885',
    950: '#000000',
  },
}
SCSS
$custom: #581885;
$custom-light: #8c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#581885",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 275.229,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37526,
    "c": 0.16812,
    "h": 306.2
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#581885
secondary
#72B940
accent
#EC3C85
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581885

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

Preview Lab → · Contrast checker → · Palette generator →

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