#582BA9#582BA9

#582BA9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.7% C 0.187 H 293.1°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#582BA9
RGBrgb(88, 43, 169)
HSLhsl(261, 59%, 42%)
HSVhsv(261, 75%, 66%)
CMYKcmyk(47.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(31.04, 48.43, -59.94)
CIE-LCHlch(31.04, 77.06, 308.94°)
OKLaboklab(42.72% 0.0732 -0.1719)
OKLCHoklch(42.72% 0.187 293.1)
XYZxyz(12.0478, 6.6666, 38.1804)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BA9 #7CA92B
analogous
#2B3DA9 #582BA9 #972BA9
triadic
#582BA9 #A9582B #2BA958
tetradic
#582BA9 #A92B3D #7CA92B #2BA997
square
#582BA9 #A92B3D #7CA92B #2BA997
split-complementary
#582BA9 #A9972B #3DA92B
monochromatic
#251247 #3F1F78 #582BA9 #7442CF #9873DB

Accessibility & contrast

On white

9.00
#582BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#582BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BA9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BA9#FFFFFF#000000##FFFFFF
##582BA91.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#3F4D68
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582ba9;
/* rgb */ color: rgb(88, 43, 169);
/* oklch */ color: oklch(42.7% 0.187 293.1);
Tailwind
colors: {
  custom: {
    50: '#8f69c4',
    500: '#582ba9',
    950: '#000000',
  },
}
SCSS
$custom: #582ba9;
$custom-light: #8f69c4;
$custom-dark: #000000;
JSON
{
  "hex": "#582ba9",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 261.429,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42716,
    "c": 0.18683,
    "h": 293.1
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#582BA9
secondary
#A4C36D
accent
#E345AA
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #582BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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