#582AA6#582AA6

#582AA6 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.185 H 293.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#582AA6
RGBrgb(88, 42, 166)
HSLhsl(262, 60%, 41%)
HSVhsv(262, 75%, 65%)
CMYKcmyk(47%, 74.7%, 0%, 34.9%)
CIE-LABlab(30.60, 48.10, -58.84)
CIE-LCHlch(30.60, 76.00, 309.26°)
OKLaboklab(42.33% 0.0748 -0.1687)
OKLCHoklch(42.33% 0.185 293.9)
XYZxyz(11.7335, 6.4835, 36.7022)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA6 #78A62A
analogous
#2A3AA6 #582AA6 #962AA6
triadic
#582AA6 #A6582A #2AA658
tetradic
#582AA6 #A62A3A #78A62A #2AA696
square
#582AA6 #A62A3A #78A62A #2AA696
split-complementary
#582AA6 #A6962A #3AA62A
monochromatic
#241144 #3E1E75 #582AA6 #743FCE #9770DB

Accessibility & contrast

On white

9.14
#582AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#582AA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA6
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA6#FFFFFF#000000##FFFFFF
##582AA61.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#414B66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582aa6;
/* rgb */ color: rgb(88, 42, 166);
/* oklch */ color: oklch(42.3% 0.185 293.9);
Tailwind
colors: {
  custom: {
    50: '#8f68c1',
    500: '#582aa6',
    950: '#000000',
  },
}
SCSS
$custom: #582aa6;
$custom-light: #8f68c1;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa6",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 262.258,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.18452,
    "h": 293.9
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#582AA6
secondary
#A1C26A
accent
#E345A8
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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