#582FA0#582FA0

#582FA0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.172 H 294.6°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#582FA0
RGBrgb(88, 47, 160)
HSLhsl(262, 55%, 41%)
HSVhsv(262, 71%, 63%)
CMYKcmyk(45%, 70.6%, 0%, 37.3%)
CIE-LABlab(30.99, 43.94, -54.59)
CIE-LCHlch(30.99, 70.08, 308.83°)
OKLaboklab(42.44% 0.0714 -0.1562)
OKLCHoklch(42.44% 0.172 294.6)
XYZxyz(11.3845, 6.6455, 33.9338)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FA0 #77A02F
analogous
#2F3EA0 #582FA0 #902FA0
triadic
#582FA0 #A0582F #2FA058
tetradic
#582FA0 #A02F3E #77A02F #2FA090
square
#582FA0 #A02F3E #77A02F #2FA090
split-complementary
#582FA0 #A0902F #3EA02F
monochromatic
#241341 #3E2171 #582FA0 #7444C8 #9773D6

Accessibility & contrast

On white

9.02
#582FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582FA0
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FA0#FFFFFF#000000##FFFFFF
##582FA01.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#444B64
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582fa0;
/* rgb */ color: rgb(88, 47, 160);
/* oklch */ color: oklch(42.4% 0.172 294.6);
Tailwind
colors: {
  custom: {
    50: '#8e6bbd',
    500: '#582fa0',
    950: '#000000',
  },
}
SCSS
$custom: #582fa0;
$custom-light: #8e6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#582fa0",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 261.77,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42443,
    "c": 0.17174,
    "h": 294.6
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#582FA0
secondary
#A0BE6D
accent
#DE4AA8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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