#582AB3#582AB3

#582AB3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.199 H 291.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#582AB3
RGBrgb(88, 42, 179)
HSLhsl(260, 62%, 43%)
HSVhsv(260, 77%, 70%)
CMYKcmyk(50.8%, 76.5%, 0%, 29.8%)
CIE-LABlab(31.77, 51.61, -64.71)
CIE-LCHlch(31.77, 82.77, 308.57°)
OKLaboklab(43.51% 0.0714 -0.1859)
OKLCHoklch(43.51% 0.199 291)
XYZxyz(12.9868, 6.9848, 43.3030)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AB3 #85B32A
analogous
#2A40B3 #582AB3 #9C2AB3
triadic
#582AB3 #B3582A #2AB358
tetradic
#582AB3 #B32A40 #85B32A #2AB39C
square
#582AB3 #B32A40 #85B32A #2AB39C
split-complementary
#582AB3 #B39C2A #40B32A
monochromatic
#271350 #401E81 #582AB3 #7646D4 #9B78DF

Accessibility & contrast

On white

8.76
#582AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#582AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AB3
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AB3#FFFFFF#000000##FFFFFF
##582AB31.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#38506D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582ab3;
/* rgb */ color: rgb(88, 42, 179);
/* oklch */ color: oklch(43.5% 0.199 291.0);
Tailwind
colors: {
  custom: {
    50: '#9169cb',
    500: '#582ab3',
    950: '#000000',
  },
}
SCSS
$custom: #582ab3;
$custom-light: #9169cb;
$custom-dark: #000000;
JSON
{
  "hex": "#582ab3",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 260.146,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4351,
    "c": 0.19913,
    "h": 291
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#582AB3
secondary
#AAC772
accent
#E543AF
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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