#581774#581774

#581774 is a dark, vivid purple. Relative luminance 0.039; OKLCH L 36.0% C 0.152 H 313.1°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#581774
RGBrgb(88, 23, 116)
HSLhsl(282, 67%, 27%)
HSVhsv(282, 80%, 45%)
CMYKcmyk(24.1%, 80.2%, 0%, 54.5%)
CIE-LABlab(23.50, 44.03, -39.35)
CIE-LCHlch(23.50, 59.05, 318.21°)
OKLaboklab(36.03% 0.1041 -0.1113)
OKLCHoklch(36.03% 0.152 313.1)
XYZxyz(7.4827, 3.9487, 16.8876)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581774 #337417
analogous
#291774 #581774 #741762
triadic
#581774 #745817 #177458
tetradic
#581774 #742917 #337417 #176274
square
#581774 #742917 #337417 #176274
split-complementary
#581774 #627417 #177429
monochromatic
#13051A #310D41 #581774 #7F21A7 #A430D6

Accessibility & contrast

On white

11.73
#581774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#581774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581774
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581774#FFFFFF#000000##FFFFFF
##5817741.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003577
Deuteranopia (green-blind)
#0B3972
Tritanopia (blue-blind)
#552D45
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581774;
/* rgb */ color: rgb(88, 23, 116);
/* oklch */ color: oklch(36.0% 0.152 313.1);
Tailwind
colors: {
  custom: {
    50: '#8b5c9d',
    500: '#581774',
    950: '#000000',
  },
}
SCSS
$custom: #581774;
$custom-light: #8b5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581774",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 281.935,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36028,
    "c": 0.15239,
    "h": 313.1
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#581774
secondary
#5EA93D
accent
#EA3E72
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581774

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

Preview Lab → · Contrast checker → · Palette generator →

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