#582FA8#582FA8

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

Color values

HEX#582FA8
RGBrgb(88, 47, 168)
HSLhsl(260, 56%, 42%)
HSVhsv(260, 72%, 66%)
CMYKcmyk(47.6%, 72%, 0%, 34.1%)
CIE-LABlab(31.66, 46.16, -58.32)
CIE-LCHlch(31.66, 74.37, 308.36°)
OKLaboklab(43.13% 0.0698 -0.1672)
OKLCHoklch(43.13% 0.181 292.7)
XYZxyz(12.1069, 6.9345, 37.7388)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA8 #7FA82F
analogous
#2F42A8 #582FA8 #952FA8
triadic
#582FA8 #A8582F #2FA858
tetradic
#582FA8 #A82F42 #7FA82F #2FA895
square
#582FA8 #A82F42 #7FA82F #2FA895
split-complementary
#582FA8 #A8952F #42A82F
monochromatic
#261448 #3F2278 #582FA8 #7548CC #9978D9

Accessibility & contrast

On white

8.80
#582FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582FA8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA8#FFFFFF#000000##FFFFFF
##582FA81.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#3F4E68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582fa8;
/* rgb */ color: rgb(88, 47, 168);
/* oklch */ color: oklch(43.1% 0.181 292.7);
Tailwind
colors: {
  custom: {
    50: '#8f6bc3',
    500: '#582fa8',
    950: '#000000',
  },
}
SCSS
$custom: #582fa8;
$custom-light: #8f6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa8",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 260.331,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.18117,
    "h": 292.7
  },
  "luminance": 0.06935
}

Semantic roles & 50–950 ramp

primary
#582FA8
secondary
#A6C171
accent
#E048AC
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #582FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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