#582FA7#582FA7

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

Color values

HEX#582FA7
RGBrgb(88, 47, 167)
HSLhsl(261, 56%, 42%)
HSVhsv(261, 72%, 65%)
CMYKcmyk(47.3%, 71.9%, 0%, 34.5%)
CIE-LABlab(31.57, 45.88, -57.86)
CIE-LCHlch(31.57, 73.84, 308.41°)
OKLaboklab(43.04% 0.07 -0.1658)
OKLCHoklch(43.04% 0.18 292.9)
XYZxyz(12.0141, 6.8974, 37.2500)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA7 #7EA72F
analogous
#2F42A7 #582FA7 #942FA7
triadic
#582FA7 #A7582F #2FA758
tetradic
#582FA7 #A72F42 #7EA72F #2FA794
square
#582FA7 #A72F42 #7EA72F #2FA794
split-complementary
#582FA7 #A7942F #42A72F
monochromatic
#261447 #3F2277 #582FA7 #7548CB #9978D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582FA7#FFFFFF#000000##FFFFFF
##582FA71.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)
#004CAB
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#404E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582fa7;
/* rgb */ color: rgb(88, 47, 167);
/* oklch */ color: oklch(43.0% 0.180 292.9);
Tailwind
colors: {
  custom: {
    50: '#8f6bc2',
    500: '#582fa7',
    950: '#000000',
  },
}
SCSS
$custom: #582fa7;
$custom-light: #8f6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa7",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 260.5,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43042,
    "c": 0.17999,
    "h": 292.9
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#582FA7
secondary
#A6C171
accent
#DF48AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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