#582DAB#582DAB

#582DAB is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.187 H 292.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#582DAB
RGBrgb(88, 45, 171)
HSLhsl(260, 58%, 42%)
HSVhsv(260, 74%, 67%)
CMYKcmyk(48.5%, 73.7%, 0%, 32.9%)
CIE-LABlab(31.56, 47.99, -60.28)
CIE-LCHlch(31.56, 77.05, 308.52°)
OKLaboklab(43.14% 0.071 -0.1729)
OKLCHoklch(43.14% 0.187 292.3)
XYZxyz(12.3115, 6.8913, 39.2017)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DAB #80AB2D
analogous
#2D41AB #582DAB #972DAB
triadic
#582DAB #AB582D #2DAB58
tetradic
#582DAB #AB2D41 #80AB2D #2DAB97
square
#582DAB #AB2D41 #80AB2D #2DAB97
split-complementary
#582DAB #AB972D #41AB2D
monochromatic
#26144A #3F207B #582DAB #7547CE #9977DB

Accessibility & contrast

On white

8.83
#582DAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582DAB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DAB#FFFFFF#000000##FFFFFF
##582DAB1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#3E4E69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582dab;
/* rgb */ color: rgb(88, 45, 171);
/* oklch */ color: oklch(43.1% 0.187 292.3);
Tailwind
colors: {
  custom: {
    50: '#8f6ac5',
    500: '#582dab',
    950: '#000000',
  },
}
SCSS
$custom: #582dab;
$custom-light: #8f6ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#582dab",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 171
  },
  "hsl": {
    "h": 260.476,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43139,
    "c": 0.18692,
    "h": 292.3
  },
  "luminance": 0.06892
}

Semantic roles & 50–950 ramp

primary
#582DAB
secondary
#A7C371
accent
#E246AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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