#581890#581890

#581890 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.5% C 0.179 H 302.4°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#581890
RGBrgb(88, 24, 144)
HSLhsl(272, 71%, 33%)
HSVhsv(272, 83%, 56%)
CMYKcmyk(38.9%, 83.3%, 0%, 43.5%)
CIE-LABlab(25.99, 50.12, -52.95)
CIE-LCHlch(25.99, 72.91, 313.43°)
OKLaboklab(38.5% 0.0959 -0.1512)
OKLCHoklch(38.5% 0.179 302.4)
XYZxyz(9.3840, 4.7416, 26.8010)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581890 #509018
analogous
#1C1890 #581890 #90188C
triadic
#581890 #905818 #189058
tetradic
#581890 #901C18 #509018 #188C90
square
#581890 #901C18 #509018 #188C90
split-complementary
#581890 #8C9018 #18901C
monochromatic
#180727 #380F5C #581890 #7821C4 #9643E0

Accessibility & contrast

On white

10.78
#581890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#581890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581890
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581890#FFFFFF#000000##FFFFFF
##5818901.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#4C3A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #581890;
/* rgb */ color: rgb(88, 24, 144);
/* oklch */ color: oklch(38.5% 0.179 302.4);
Tailwind
colors: {
  custom: {
    50: '#8d5eb1',
    500: '#581890',
    950: '#000000',
  },
}
SCSS
$custom: #581890;
$custom-light: #8d5eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#581890",
  "rgb": {
    "r": 88,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 272,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38497,
    "c": 0.17909,
    "h": 302.4
  },
  "luminance": 0.04742
}

Semantic roles & 50–950 ramp

primary
#581890
secondary
#7EC043
accent
#EE3A8E
background
#F9F5FB
surface
#F1EAF6
border
#CBC6D0
text
#0D0511
muted
#7E7980

Preview Lab

Preview with #581890

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

Preview Lab → · Contrast checker → · Palette generator →

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