#581180#581180

#581180 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.170 H 308.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#581180
RGBrgb(88, 17, 128)
HSLhsl(278, 77%, 28%)
HSVhsv(278, 87%, 50%)
CMYKcmyk(31.3%, 86.7%, 0%, 49.8%)
CIE-LABlab(23.78, 48.73, -46.53)
CIE-LCHlch(23.78, 67.38, 316.32°)
OKLaboklab(36.53% 0.1059 -0.1323)
OKLCHoklch(36.53% 0.17 308.7)
XYZxyz(8.1204, 4.0343, 20.7688)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#581180 #398011
analogous
#201180 #581180 #801170
triadic
#581180 #805811 #118058
tetradic
#581180 #802011 #398011 #117080
square
#581180 #802011 #398011 #117080
split-complementary
#581180 #708011 #118020
monochromatic
#13041B #330A4A #581180 #7D18B6 #A029E3

Accessibility & contrast

On white

11.62
#581180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #581180
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##581180#FFFFFF#000000##FFFFFF
##5811801.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#00397E
Tritanopia (blue-blind)
#52304B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #581180;
/* rgb */ color: rgb(88, 17, 128);
/* oklch */ color: oklch(36.5% 0.170 308.7);
Tailwind
colors: {
  custom: {
    50: '#8c5ba6',
    500: '#581180',
    950: '#000000',
  },
}
SCSS
$custom: #581180;
$custom-light: #8c5ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#581180",
  "rgb": {
    "r": 88,
    "g": 17,
    "b": 128
  },
  "hsl": {
    "h": 278.378,
    "s": 76.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.36534,
    "c": 0.16953,
    "h": 308.7
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#581180
secondary
#65B637
accent
#F33579
background
#F9F5FA
surface
#F1E9F4
border
#CBC5CE
text
#0D040F
muted
#7E797F

Preview Lab

Preview with #581180

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

Preview Lab → · Contrast checker → · Palette generator →

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