#582FA4#582FA4

#582FA4 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.8% C 0.176 H 293.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#582FA4
RGBrgb(88, 47, 164)
HSLhsl(261, 55%, 41%)
HSVhsv(261, 71%, 64%)
CMYKcmyk(46.3%, 71.3%, 0%, 35.7%)
CIE-LABlab(31.32, 45.05, -56.46)
CIE-LCHlch(31.32, 72.23, 308.58°)
OKLaboklab(42.78% 0.0706 -0.1617)
OKLCHoklch(42.78% 0.176 293.6)
XYZxyz(11.7400, 6.7877, 35.8064)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA4 #7BA42F
analogous
#2F41A4 #582FA4 #932FA4
triadic
#582FA4 #A4582F #2FA458
tetradic
#582FA4 #A42F41 #7BA42F #2FA493
square
#582FA4 #A42F41 #7BA42F #2FA493
split-complementary
#582FA4 #A4932F #41A42F
monochromatic
#251445 #3E2174 #582FA4 #7446CA #9876D8

Accessibility & contrast

On white

8.91
#582FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#582FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FA4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA4#FFFFFF#000000##FFFFFF
##582FA41.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#424D66
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582fa4;
/* rgb */ color: rgb(88, 47, 164);
/* oklch */ color: oklch(42.8% 0.176 293.6);
Tailwind
colors: {
  custom: {
    50: '#8e6bc0',
    500: '#582fa4',
    950: '#000000',
  },
}
SCSS
$custom: #582fa4;
$custom-light: #8e6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa4",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 261.026,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.17646,
    "h": 293.6
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#582FA4
secondary
#A3C06F
accent
#DF49AA
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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