#582AB0#582AB0

#582AB0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.196 H 291.6°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#582AB0
RGBrgb(88, 42, 176)
HSLhsl(261, 61%, 43%)
HSVhsv(261, 76%, 69%)
CMYKcmyk(50%, 76.1%, 0%, 31%)
CIE-LABlab(31.50, 50.80, -63.38)
CIE-LCHlch(31.50, 81.22, 308.72°)
OKLaboklab(43.23% 0.0722 -0.182)
OKLCHoklch(43.23% 0.196 291.6)
XYZxyz(12.6867, 6.8647, 41.7224)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AB0 #82B02A
analogous
#2A3FB0 #582AB0 #9B2AB0
triadic
#582AB0 #B0582A #2AB058
tetradic
#582AB0 #B02A3F #82B02A #2AB09B
square
#582AB0 #B02A3F #82B02A #2AB09B
split-complementary
#582AB0 #B09B2A #3FB02A
monochromatic
#27124D #3F1E7F #582AB0 #7545D3 #9A76DE

Accessibility & contrast

On white

8.85
#582AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#582AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AB0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AB0#FFFFFF#000000##FFFFFF
##582AB01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#3B4F6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582ab0;
/* rgb */ color: rgb(88, 42, 176);
/* oklch */ color: oklch(43.2% 0.196 291.6);
Tailwind
colors: {
  custom: {
    50: '#9069c9',
    500: '#582ab0',
    950: '#000000',
  },
}
SCSS
$custom: #582ab0;
$custom-light: #9069c9;
$custom-dark: #000000;
JSON
{
  "hex": "#582ab0",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 260.597,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43233,
    "c": 0.19578,
    "h": 291.6
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#582AB0
secondary
#A8C670
accent
#E543AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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