#582686#582686

#582686 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.153 H 303.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#582686
RGBrgb(88, 38, 134)
HSLhsl(271, 56%, 34%)
HSVhsv(271, 72%, 53%)
CMYKcmyk(34.3%, 71.6%, 0%, 47.5%)
CIE-LABlab(27.25, 41.65, -44.68)
CIE-LCHlch(27.25, 61.08, 312.99°)
OKLaboklab(39.12% 0.0854 -0.127)
OKLCHoklch(39.12% 0.153 303.9)
XYZxyz(9.0197, 5.1822, 23.0747)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582686 #548626
analogous
#282686 #582686 #862684
triadic
#582686 #865826 #268658
tetradic
#582686 #862826 #548626 #268486
square
#582686 #862826 #548626 #268486
split-complementary
#582686 #848626 #268628
monochromatic
#190B27 #391856 #582686 #7734B6 #9657CF

Accessibility & contrast

On white

10.31
#582686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#582686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582686
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582686#FFFFFF#000000##FFFFFF
##5826861.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.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: #582686;
/* rgb */ color: rgb(88, 38, 134);
/* oklch */ color: oklch(39.1% 0.153 303.9);
Tailwind
colors: {
  custom: {
    50: '#8b65aa',
    500: '#582686',
    950: '#000000',
  },
}
SCSS
$custom: #582686;
$custom-light: #8b65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582686",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 271.25,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.15306,
    "h": 303.9
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#582686
secondary
#82B454
accent
#DF4991
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582686

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

Preview Lab → · Contrast checker → · Palette generator →

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