#581889#581889

#581889 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.172 H 304.7°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#581889
RGBrgb(88, 24, 137)
HSLhsl(274, 70%, 32%)
HSVhsv(274, 82%, 54%)
CMYKcmyk(35.8%, 82.5%, 0%, 46.3%)
CIE-LABlab(25.36, 48.46, -49.61)
CIE-LCHlch(25.36, 69.35, 314.33°)
OKLaboklab(37.87% 0.0981 -0.1414)
OKLCHoklch(37.87% 0.172 304.7)
XYZxyz(8.8655, 4.5342, 24.0702)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581889 #498918
analogous
#201889 #581889 #891882
triadic
#581889 #895818 #188958
tetradic
#581889 #892018 #498918 #188289
square
#581889 #892018 #498918 #188289
split-complementary
#581889 #828918 #188920
monochromatic
#150621 #370F55 #581889 #7921BD #983EDD

Accessibility & contrast

On white

11.01
#581889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#581889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581889
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581889#FFFFFF#000000##FFFFFF
##5818891.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#4E3751
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #581889;
/* rgb */ color: rgb(88, 24, 137);
/* oklch */ color: oklch(37.9% 0.172 304.7);
Tailwind
colors: {
  custom: {
    50: '#8d5eac',
    500: '#581889',
    950: '#000000',
  },
}
SCSS
$custom: #581889;
$custom-light: #8d5eac;
$custom-dark: #000000;
JSON
{
  "hex": "#581889",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 273.982,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37874,
    "c": 0.17211,
    "h": 304.7
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#581889
secondary
#76BD40
accent
#ED3B88
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D0510
muted
#7E797F

Preview Lab

Preview with #581889

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

Preview Lab → · Contrast checker → · Palette generator →

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