#582FA9#582FA9

#582FA9 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.2% C 0.182 H 292.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#582FA9
RGBrgb(88, 47, 169)
HSLhsl(260, 56%, 42%)
HSVhsv(260, 72%, 66%)
CMYKcmyk(47.9%, 72.2%, 0%, 33.7%)
CIE-LABlab(31.74, 46.43, -58.78)
CIE-LCHlch(31.74, 74.91, 308.31°)
OKLaboklab(43.22% 0.0696 -0.1685)
OKLCHoklch(43.22% 0.182 292.4)
XYZxyz(12.2005, 6.9719, 38.2313)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA9 #80A92F
analogous
#2F43A9 #582FA9 #952FA9
triadic
#582FA9 #A9582F #2FA958
tetradic
#582FA9 #A92F43 #80A92F #2FA995
square
#582FA9 #A92F43 #80A92F #2FA995
split-complementary
#582FA9 #A9952F #43A92F
monochromatic
#261449 #3F2279 #582FA9 #7549CC #9979DA

Accessibility & contrast

On white

8.77
#582FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#582FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FA9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA9#FFFFFF#000000##FFFFFF
##582FA91.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#3F4F69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582fa9;
/* rgb */ color: rgb(88, 47, 169);
/* oklch */ color: oklch(43.2% 0.182 292.4);
Tailwind
colors: {
  custom: {
    50: '#8f6bc4',
    500: '#582fa9',
    950: '#000000',
  },
}
SCSS
$custom: #582fa9;
$custom-light: #8f6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa9",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 260.164,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43216,
    "c": 0.18233,
    "h": 292.4
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#582FA9
secondary
#A7C272
accent
#E048AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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