#581775#581775

#581775 is a dark, vivid purple. Relative luminance 0.040; OKLCH L 36.1% C 0.153 H 312.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#581775
RGBrgb(88, 23, 117)
HSLhsl(281, 67%, 27%)
HSVhsv(281, 80%, 46%)
CMYKcmyk(24.8%, 80.3%, 0%, 54.1%)
CIE-LABlab(23.58, 44.25, -39.87)
CIE-LCHlch(23.58, 59.56, 317.98°)
OKLaboklab(36.11% 0.1039 -0.1128)
OKLCHoklch(36.11% 0.153 312.7)
XYZxyz(7.5412, 3.9721, 17.1956)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581775 #347517
analogous
#291775 #581775 #751763
triadic
#581775 #755817 #177558
tetradic
#581775 #752917 #347517 #176375
square
#581775 #752917 #347517 #176375
split-complementary
#581775 #637517 #177529
monochromatic
#13051A #320D42 #581775 #7E21A8 #A330D6

Accessibility & contrast

On white

11.70
#581775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581775
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581775#FFFFFF#000000##FFFFFF
##5817751.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#093973
Tritanopia (blue-blind)
#552D46
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #581775;
/* rgb */ color: rgb(88, 23, 117);
/* oklch */ color: oklch(36.1% 0.153 312.7);
Tailwind
colors: {
  custom: {
    50: '#8b5c9d',
    500: '#581775',
    950: '#000000',
  },
}
SCSS
$custom: #581775;
$custom-light: #8b5c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581775",
  "rgb": {
    "r": 88,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 281.489,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.15337,
    "h": 312.7
  },
  "luminance": 0.03972
}

Semantic roles & 50–950 ramp

primary
#581775
secondary
#5FAA3D
accent
#EA3E73
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581775

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

Preview Lab → · Contrast checker → · Palette generator →

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