#582FA6#582FA6

#582FA6 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.0% C 0.179 H 293.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#582FA6
RGBrgb(88, 47, 166)
HSLhsl(261, 56%, 42%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(47%, 71.7%, 0%, 34.9%)
CIE-LABlab(31.49, 45.60, -57.39)
CIE-LCHlch(31.49, 73.31, 308.47°)
OKLaboklab(42.96% 0.0702 -0.1645)
OKLCHoklch(42.96% 0.179 293.1)
XYZxyz(11.9221, 6.8605, 36.7651)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA6 #7DA62F
analogous
#2F42A6 #582FA6 #942FA6
triadic
#582FA6 #A6582F #2FA658
tetradic
#582FA6 #A62F42 #7DA62F #2FA694
square
#582FA6 #A62F42 #7DA62F #2FA694
split-complementary
#582FA6 #A6942F #42A62F
monochromatic
#251447 #3F2176 #582FA6 #7547CB #9977D8

Accessibility & contrast

On white

8.85
#582FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#582FA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FA6
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA6#FFFFFF#000000##FFFFFF
##582FA61.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#414D67
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582fa6;
/* rgb */ color: rgb(88, 47, 166);
/* oklch */ color: oklch(43.0% 0.179 293.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bc1',
    500: '#582fa6',
    950: '#000000',
  },
}
SCSS
$custom: #582fa6;
$custom-light: #8e6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa6",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 260.672,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.17882,
    "h": 293.1
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#582FA6
secondary
#A5C170
accent
#DF49AB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA6

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

Preview Lab → · Contrast checker → · Palette generator →

#582FA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva