#582AB1#582AB1

#582AB1 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.197 H 291.4°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#582AB1
RGBrgb(88, 42, 177)
HSLhsl(260, 62%, 43%)
HSVhsv(260, 76%, 69%)
CMYKcmyk(50.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(31.59, 51.07, -63.82)
CIE-LCHlch(31.59, 81.74, 308.67°)
OKLaboklab(43.33% 0.072 -0.1833)
OKLCHoklch(43.33% 0.197 291.4)
XYZxyz(12.7860, 6.9045, 42.2454)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AB1 #83B12A
analogous
#2A40B1 #582AB1 #9B2AB1
triadic
#582AB1 #B1582A #2AB158
tetradic
#582AB1 #B12A40 #83B12A #2AB19B
square
#582AB1 #B12A40 #83B12A #2AB19B
split-complementary
#582AB1 #B19B2A #40B12A
monochromatic
#27134E #3F1E80 #582AB1 #7645D3 #9A77DF

Accessibility & contrast

On white

8.82
#582AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#582AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AB1
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AB1#FFFFFF#000000##FFFFFF
##582AB11.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#3A4F6C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582ab1;
/* rgb */ color: rgb(88, 42, 177);
/* oklch */ color: oklch(43.3% 0.197 291.4);
Tailwind
colors: {
  custom: {
    50: '#9069c9',
    500: '#582ab1',
    950: '#000000',
  },
}
SCSS
$custom: #582ab1;
$custom-light: #9069c9;
$custom-dark: #000000;
JSON
{
  "hex": "#582ab1",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 260.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43325,
    "c": 0.1969,
    "h": 291.4
  },
  "luminance": 0.06905
}

Semantic roles & 50–950 ramp

primary
#582AB1
secondary
#A9C670
accent
#E543AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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