#582BAB#582BAB

#582BAB is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.189 H 292.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#582BAB
RGBrgb(88, 43, 171)
HSLhsl(261, 60%, 42%)
HSVhsv(261, 75%, 67%)
CMYKcmyk(48.5%, 74.9%, 0%, 32.9%)
CIE-LABlab(31.21, 48.97, -60.85)
CIE-LCHlch(31.21, 78.11, 308.83°)
OKLaboklab(42.9% 0.0727 -0.1746)
OKLCHoklch(42.9% 0.189 292.6)
XYZxyz(12.2370, 6.7423, 39.1768)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BAB #7EAB2B
analogous
#2B3EAB #582BAB #982BAB
triadic
#582BAB #AB582B #2BAB58
tetradic
#582BAB #AB2B3E #7EAB2B #2BAB98
square
#582BAB #AB2B3E #7EAB2B #2BAB98
split-complementary
#582BAB #AB982B #3EAB2B
monochromatic
#261249 #3F1F7A #582BAB #7543D0 #9974DC

Accessibility & contrast

On white

8.94
#582BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#582BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BAB
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BAB#FFFFFF#000000##FFFFFF
##582BAB1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0047A9
Tritanopia (blue-blind)
#3E4D69
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582bab;
/* rgb */ color: rgb(88, 43, 171);
/* oklch */ color: oklch(42.9% 0.189 292.6);
Tailwind
colors: {
  custom: {
    50: '#8f69c5',
    500: '#582bab',
    950: '#000000',
  },
}
SCSS
$custom: #582bab;
$custom-light: #8f69c5;
$custom-dark: #000000;
JSON
{
  "hex": "#582bab",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 261.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.1891,
    "h": 292.6
  },
  "luminance": 0.06743
}

Semantic roles & 50–950 ramp

primary
#582BAB
secondary
#A6C46E
accent
#E345AB
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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