#582FA2#582FA2

#582FA2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.174 H 294.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#582FA2
RGBrgb(88, 47, 162)
HSLhsl(261, 55%, 41%)
HSVhsv(261, 71%, 64%)
CMYKcmyk(45.7%, 71%, 0%, 36.5%)
CIE-LABlab(31.15, 44.50, -55.53)
CIE-LCHlch(31.15, 71.16, 308.71°)
OKLaboklab(42.61% 0.071 -0.159)
OKLCHoklch(42.61% 0.174 294.1)
XYZxyz(11.5608, 6.7160, 34.8626)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA2 #79A22F
analogous
#2F3FA2 #582FA2 #912FA2
triadic
#582FA2 #A2582F #2FA258
tetradic
#582FA2 #A22F3F #79A22F #2FA291
square
#582FA2 #A22F3F #79A22F #2FA291
split-complementary
#582FA2 #A2912F #3FA22F
monochromatic
#241343 #3E2173 #582FA2 #7445C9 #9875D7

Accessibility & contrast

On white

8.96
#582FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582FA2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA2#FFFFFF#000000##FFFFFF
##582FA21.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#434C65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582fa2;
/* rgb */ color: rgb(88, 47, 162);
/* oklch */ color: oklch(42.6% 0.174 294.1);
Tailwind
colors: {
  custom: {
    50: '#8e6bbe',
    500: '#582fa2',
    950: '#000000',
  },
}
SCSS
$custom: #582fa2;
$custom-light: #8e6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa2",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 261.391,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.17411,
    "h": 294.1
  },
  "luminance": 0.06716
}

Semantic roles & 50–950 ramp

primary
#582FA2
secondary
#A2BF6E
accent
#DE49A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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