#582586#582586

#582586 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.154 H 304.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#582586
RGBrgb(88, 37, 134)
HSLhsl(272, 57%, 34%)
HSVhsv(272, 72%, 53%)
CMYKcmyk(34.3%, 72.4%, 0%, 47.5%)
CIE-LABlab(27.07, 42.14, -44.96)
CIE-LCHlch(27.07, 61.62, 313.15°)
OKLaboklab(39% 0.0865 -0.1279)
OKLCHoklch(39% 0.154 304.1)
XYZxyz(8.9882, 5.1191, 23.0642)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582586 #538625
analogous
#272586 #582586 #862583
triadic
#582586 #865825 #258658
tetradic
#582586 #862725 #538625 #258386
square
#582586 #862725 #538625 #258386
split-complementary
#582586 #838625 #258627
monochromatic
#190B26 #391856 #582586 #7732B6 #9655D0

Accessibility & contrast

On white

10.38
#582586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#582586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582586
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582586#FFFFFF#000000##FFFFFF
##5825861.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582586;
/* rgb */ color: rgb(88, 37, 134);
/* oklch */ color: oklch(39.0% 0.154 304.1);
Tailwind
colors: {
  custom: {
    50: '#8b64aa',
    500: '#582586',
    950: '#000000',
  },
}
SCSS
$custom: #582586;
$custom-light: #8b64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582586",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 271.546,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.15436,
    "h": 304.1
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#582586
secondary
#81B452
accent
#E04890
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582586

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

Preview Lab → · Contrast checker → · Palette generator →

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