#581975#581975

#581975 is a dark, vivid purple. Relative luminance 0.041; OKLCH L 36.3% C 0.151 H 312.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#581975
RGBrgb(88, 25, 117)
HSLhsl(281, 65%, 28%)
HSVhsv(281, 79%, 46%)
CMYKcmyk(24.8%, 78.6%, 0%, 54.1%)
CIE-LABlab(23.85, 43.47, -39.43)
CIE-LCHlch(23.85, 58.69, 317.79°)
OKLaboklab(36.3% 0.102 -0.1115)
OKLCHoklch(36.3% 0.151 312.4)
XYZxyz(7.5824, 4.0545, 17.2094)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581975 #367519
analogous
#2A1975 #581975 #751964
triadic
#581975 #755819 #197558
tetradic
#581975 #752A19 #367519 #196475
square
#581975 #752A19 #367519 #196475
split-complementary
#581975 #647519 #19752A
monochromatic
#130519 #320E43 #581975 #7E24A7 #A235D4

Accessibility & contrast

On white

11.60
#581975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#581975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581975
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581975#FFFFFF#000000##FFFFFF
##5819751.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#0C3A73
Tritanopia (blue-blind)
#552E46
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581975;
/* rgb */ color: rgb(88, 25, 117);
/* oklch */ color: oklch(36.3% 0.151 312.4);
Tailwind
colors: {
  custom: {
    50: '#8b5d9d',
    500: '#581975',
    950: '#000000',
  },
}
SCSS
$custom: #581975;
$custom-light: #8b5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581975",
  "rgb": {
    "r": 88,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 281.087,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.15114,
    "h": 312.4
  },
  "luminance": 0.04054
}

Semantic roles & 50–950 ramp

primary
#581975
secondary
#61AA40
accent
#E84075
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C050E
muted
#7D797E

Preview Lab

Preview with #581975

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

Preview Lab → · Contrast checker → · Palette generator →

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