#581175#581175

#581175 is a dark, vivid purple. Relative luminance 0.038; OKLCH L 35.6% C 0.159 H 313.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#581175
RGBrgb(88, 17, 117)
HSLhsl(283, 75%, 26%)
HSVhsv(283, 85%, 46%)
CMYKcmyk(24.8%, 85.5%, 0%, 54.1%)
CIE-LABlab(22.86, 46.33, -41.03)
CIE-LCHlch(22.86, 61.89, 318.47°)
OKLaboklab(35.6% 0.109 -0.1162)
OKLCHoklch(35.6% 0.159 313.2)
XYZxyz(7.4353, 3.7602, 17.1603)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581175 #2E7511
analogous
#261175 #581175 #751160
triadic
#581175 #755811 #117558
tetradic
#581175 #752611 #2E7511 #116075
square
#581175 #752611 #2E7511 #116075
split-complementary
#581175 #607511 #117526
monochromatic
#14041B #300940 #581175 #8019AA #A822DF

Accessibility & contrast

On white

11.99
#581175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#581175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #581175
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581175#FFFFFF#000000##FFFFFF
##5811751.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#552B44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #581175;
/* rgb */ color: rgb(88, 17, 117);
/* oklch */ color: oklch(35.6% 0.159 313.2);
Tailwind
colors: {
  custom: {
    50: '#8b5a9d',
    500: '#581175',
    950: '#000000',
  },
}
SCSS
$custom: #581175;
$custom-light: #8b5a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#581175",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 282.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35605,
    "c": 0.15929,
    "h": 313.2
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#581175
secondary
#58AC36
accent
#F1376D
background
#F8F5F9
surface
#F0E9F2
border
#CBC5CC
text
#0C040E
muted
#7D797E

Preview Lab

Preview with #581175

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

Preview Lab → · Contrast checker → · Palette generator →

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