#582AAF#582AAF

#582AAF is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.195 H 291.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#582AAF
RGBrgb(88, 42, 175)
HSLhsl(261, 61%, 43%)
HSVhsv(261, 76%, 69%)
CMYKcmyk(49.7%, 76%, 0%, 31.4%)
CIE-LABlab(31.41, 50.53, -62.93)
CIE-LCHlch(31.41, 80.70, 308.76°)
OKLaboklab(43.14% 0.0725 -0.1807)
OKLCHoklch(43.14% 0.195 291.9)
XYZxyz(12.5881, 6.8253, 41.2033)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AAF #81AF2A
analogous
#2A3EAF #582AAF #9A2AAF
triadic
#582AAF #AF582A #2AAF58
tetradic
#582AAF #AF2A3E #81AF2A #2AAF9A
square
#582AAF #AF2A3E #81AF2A #2AAF9A
split-complementary
#582AAF #AF9A2A #3EAF2A
monochromatic
#26124C #3F1E7E #582AAF #7544D2 #9A75DE

Accessibility & contrast

On white

8.88
#582AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#582AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AAF
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AAF#FFFFFF#000000##FFFFFF
##582AAF1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#3B4E6B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #582aaf;
/* rgb */ color: rgb(88, 42, 175);
/* oklch */ color: oklch(43.1% 0.195 291.9);
Tailwind
colors: {
  custom: {
    50: '#9069c8',
    500: '#582aaf',
    950: '#000000',
  },
}
SCSS
$custom: #582aaf;
$custom-light: #9069c8;
$custom-dark: #000000;
JSON
{
  "hex": "#582aaf",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 260.752,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.19466,
    "h": 291.9
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#582AAF
secondary
#A8C66F
accent
#E443AD
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #582AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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