#582BAD#582BAD

#582BAD is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.191 H 292.2°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#582BAD
RGBrgb(88, 43, 173)
HSLhsl(261, 60%, 42%)
HSVhsv(261, 75%, 68%)
CMYKcmyk(49.1%, 75.1%, 0%, 32.2%)
CIE-LABlab(31.39, 49.51, -61.75)
CIE-LCHlch(31.39, 79.15, 308.72°)
OKLaboklab(43.08% 0.0722 -0.1772)
OKLCHoklch(43.08% 0.191 292.2)
XYZxyz(12.4291, 6.8191, 40.1884)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BAD #80AD2B
analogous
#2B3FAD #582BAD #992BAD
triadic
#582BAD #AD582B #2BAD58
tetradic
#582BAD #AD2B3F #80AD2B #2BAD99
square
#582BAD #AD2B3F #80AD2B #2BAD99
split-complementary
#582BAD #AD992B #3FAD2B
monochromatic
#26134B #3F1F7C #582BAD #7545D1 #9976DD

Accessibility & contrast

On white

8.88
#582BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#582BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BAD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BAD#FFFFFF#000000##FFFFFF
##582BAD1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#3D4E6A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582bad;
/* rgb */ color: rgb(88, 43, 173);
/* oklch */ color: oklch(43.1% 0.191 292.2);
Tailwind
colors: {
  custom: {
    50: '#9069c7',
    500: '#582bad',
    950: '#000000',
  },
}
SCSS
$custom: #582bad;
$custom-light: #9069c7;
$custom-dark: #000000;
JSON
{
  "hex": "#582bad",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 260.769,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.19137,
    "h": 292.2
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#582BAD
secondary
#A7C46F
accent
#E344AC
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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