#582587#582587

#582587 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.155 H 303.7°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#582587
RGBrgb(88, 37, 135)
HSLhsl(271, 57%, 34%)
HSVhsv(271, 73%, 53%)
CMYKcmyk(34.8%, 72.6%, 0%, 47.1%)
CIE-LABlab(27.15, 42.40, -45.46)
CIE-LCHlch(27.15, 62.16, 313.00°)
OKLaboklab(39.08% 0.0863 -0.1293)
OKLCHoklch(39.08% 0.155 303.7)
XYZxyz(9.0582, 5.1471, 23.4333)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582587 #548725
analogous
#272587 #582587 #872585
triadic
#582587 #875825 #258758
tetradic
#582587 #872725 #548725 #258587
square
#582587 #872725 #548725 #258587
split-complementary
#582587 #858725 #258727
monochromatic
#190B27 #391857 #582587 #7732B7 #9656D1

Accessibility & contrast

On white

10.35
#582587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#582587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582587
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582587#FFFFFF#000000##FFFFFF
##5825871.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#4F3C53
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582587;
/* rgb */ color: rgb(88, 37, 135);
/* oklch */ color: oklch(39.1% 0.155 303.7);
Tailwind
colors: {
  custom: {
    50: '#8c64ab',
    500: '#582587',
    950: '#000000',
  },
}
SCSS
$custom: #582587;
$custom-light: #8c64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582587",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 271.224,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39079,
    "c": 0.15549,
    "h": 303.7
  },
  "luminance": 0.05147
}

Semantic roles & 50–950 ramp

primary
#582587
secondary
#82B553
accent
#E04891
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582587

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

Preview Lab → · Contrast checker → · Palette generator →

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