#582AA7#582AA7

#582AA7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.186 H 293.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#582AA7
RGBrgb(88, 42, 167)
HSLhsl(262, 60%, 41%)
HSVhsv(262, 75%, 65%)
CMYKcmyk(47.3%, 74.9%, 0%, 34.5%)
CIE-LABlab(30.69, 48.37, -59.30)
CIE-LCHlch(30.69, 76.52, 309.20°)
OKLaboklab(42.42% 0.0746 -0.17)
OKLCHoklch(42.42% 0.186 293.7)
XYZxyz(11.8256, 6.5203, 37.1872)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA7 #79A72A
analogous
#2A3AA7 #582AA7 #962AA7
triadic
#582AA7 #A7582A #2AA758
tetradic
#582AA7 #A72A3A #79A72A #2AA796
square
#582AA7 #A72A3A #79A72A #2AA796
split-complementary
#582AA7 #A7962A #3AA72A
monochromatic
#241145 #3E1E76 #582AA7 #743FCF #9870DB

Accessibility & contrast

On white

9.11
#582AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582AA7
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA7#FFFFFF#000000##FFFFFF
##582AA71.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#404B66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582aa7;
/* rgb */ color: rgb(88, 42, 167);
/* oklch */ color: oklch(42.4% 0.186 293.7);
Tailwind
colors: {
  custom: {
    50: '#8f68c2',
    500: '#582aa7',
    950: '#000000',
  },
}
SCSS
$custom: #582aa7;
$custom-light: #8f68c2;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa7",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 262.08,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42417,
    "c": 0.18566,
    "h": 293.7
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#582AA7
secondary
#A2C26B
accent
#E345A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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