#582FA1#582FA1

#582FA1 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.173 H 294.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#582FA1
RGBrgb(88, 47, 161)
HSLhsl(262, 55%, 41%)
HSVhsv(262, 71%, 63%)
CMYKcmyk(45.3%, 70.8%, 0%, 36.9%)
CIE-LABlab(31.07, 44.22, -55.06)
CIE-LCHlch(31.07, 70.62, 308.77°)
OKLaboklab(42.53% 0.0712 -0.1576)
OKLCHoklch(42.53% 0.173 294.3)
XYZxyz(11.4723, 6.6806, 34.3963)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA1 #78A12F
analogous
#2F3FA1 #582FA1 #912FA1
triadic
#582FA1 #A1582F #2FA158
tetradic
#582FA1 #A12F3F #78A12F #2FA191
square
#582FA1 #A12F3F #78A12F #2FA191
split-complementary
#582FA1 #A1912F #3FA12F
monochromatic
#241342 #3E2172 #582FA1 #7445C9 #9774D6

Accessibility & contrast

On white

8.99
#582FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#582FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FA1
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA1#FFFFFF#000000##FFFFFF
##582FA11.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#434C64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582fa1;
/* rgb */ color: rgb(88, 47, 161);
/* oklch */ color: oklch(42.5% 0.173 294.3);
Tailwind
colors: {
  custom: {
    50: '#8e6bbe',
    500: '#582fa1',
    950: '#000000',
  },
}
SCSS
$custom: #582fa1;
$custom-light: #8e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa1",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 261.579,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42527,
    "c": 0.17293,
    "h": 294.3
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#582FA1
secondary
#A1BE6E
accent
#DE4AA9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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