#582687#582687

#582687 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.154 H 303.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#582687
RGBrgb(88, 38, 135)
HSLhsl(271, 56%, 34%)
HSVhsv(271, 72%, 53%)
CMYKcmyk(34.8%, 71.9%, 0%, 47.1%)
CIE-LABlab(27.33, 41.90, -45.17)
CIE-LCHlch(27.33, 61.62, 312.85°)
OKLaboklab(39.2% 0.0852 -0.1285)
OKLCHoklch(39.2% 0.154 303.6)
XYZxyz(9.0898, 5.2102, 23.4438)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582687 #558726
analogous
#282687 #582687 #872686
triadic
#582687 #875826 #268758
tetradic
#582687 #872826 #558726 #268687
square
#582687 #872826 #558726 #268687
split-complementary
#582687 #868726 #268728
monochromatic
#1A0B27 #391957 #582687 #7733B7 #9658D0

Accessibility & contrast

On white

10.28
#582687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582687
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582687#FFFFFF#000000##FFFFFF
##5826871.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582687;
/* rgb */ color: rgb(88, 38, 135);
/* oklch */ color: oklch(39.2% 0.154 303.6);
Tailwind
colors: {
  custom: {
    50: '#8b65ab',
    500: '#582687',
    950: '#000000',
  },
}
SCSS
$custom: #582687;
$custom-light: #8b65ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582687",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 270.928,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39204,
    "c": 0.15419,
    "h": 303.6
  },
  "luminance": 0.0521
}

Semantic roles & 50–950 ramp

primary
#582687
secondary
#83B554
accent
#DF4892
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582687

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

Preview Lab → · Contrast checker → · Palette generator →

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