#582987#582987

#582987 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.150 H 303.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#582987
RGBrgb(88, 41, 135)
HSLhsl(270, 53%, 35%)
HSVhsv(270, 70%, 53%)
CMYKcmyk(34.8%, 69.6%, 0%, 47.1%)
CIE-LABlab(27.87, 40.38, -44.29)
CIE-LCHlch(27.87, 59.93, 312.36°)
OKLaboklab(39.6% 0.0818 -0.1259)
OKLCHoklch(39.6% 0.15 303)
XYZxyz(9.1896, 5.4099, 23.4770)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582987 #588729
analogous
#292987 #582987 #872987
triadic
#582987 #875829 #298758
tetradic
#582987 #872929 #588729 #298787
square
#582987 #872929 #588729 #298787
split-complementary
#582987 #878729 #298729
monochromatic
#1B0C29 #391B58 #582987 #7737B6 #955DCE

Accessibility & contrast

On white

10.09
#582987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582987
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582987#FFFFFF#000000##FFFFFF
##5829871.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#004285
Tritanopia (blue-blind)
#4F3E54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582987;
/* rgb */ color: rgb(88, 41, 135);
/* oklch */ color: oklch(39.6% 0.150 303.0);
Tailwind
colors: {
  custom: {
    50: '#8b66ab',
    500: '#582987',
    950: '#000000',
  },
}
SCSS
$custom: #582987;
$custom-light: #8b66ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582987",
  "rgb": {
    "r": 88,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 270,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39595,
    "c": 0.15017,
    "h": 303
  },
  "luminance": 0.0541
}

Semantic roles & 50–950 ramp

primary
#582987
secondary
#86B359
accent
#DD4B94
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582987

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

Preview Lab → · Contrast checker → · Palette generator →

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