#582AA8#582AA8

#582AA8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.187 H 293.4°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#582AA8
RGBrgb(88, 42, 168)
HSLhsl(262, 60%, 41%)
HSVhsv(262, 75%, 66%)
CMYKcmyk(47.6%, 75%, 0%, 34.1%)
CIE-LABlab(30.78, 48.64, -59.76)
CIE-LCHlch(30.78, 77.05, 309.14°)
OKLaboklab(42.51% 0.0743 -0.1714)
OKLCHoklch(42.51% 0.187 293.4)
XYZxyz(11.9184, 6.5574, 37.6759)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA8 #7AA82A
analogous
#2A3BA8 #582AA8 #972AA8
triadic
#582AA8 #A8582A #2AA858
tetradic
#582AA8 #A82A3B #7AA82A #2AA897
square
#582AA8 #A82A3B #7AA82A #2AA897
split-complementary
#582AA8 #A8972A #3BA82A
monochromatic
#251246 #3E1E77 #582AA8 #7440CF #9871DB

Accessibility & contrast

On white

9.08
#582AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#582AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA8
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA8#FFFFFF#000000##FFFFFF
##582AA81.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAC
Deuteranopia (green-blind)
#0046A6
Tritanopia (blue-blind)
#404C67
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582aa8;
/* rgb */ color: rgb(88, 42, 168);
/* oklch */ color: oklch(42.5% 0.187 293.4);
Tailwind
colors: {
  custom: {
    50: '#8f68c3',
    500: '#582aa8',
    950: '#000000',
  },
}
SCSS
$custom: #582aa8;
$custom-light: #8f68c3;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa8",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 261.905,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42507,
    "c": 0.18679,
    "h": 293.4
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#582AA8
secondary
#A3C36B
accent
#E345A9
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #582AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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