#582CAF#582CAF

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

Color values

HEX#582CAF
RGBrgb(88, 44, 175)
HSLhsl(260, 60%, 43%)
HSVhsv(260, 75%, 69%)
CMYKcmyk(49.7%, 74.9%, 0%, 31.4%)
CIE-LABlab(31.74, 49.58, -62.38)
CIE-LCHlch(31.74, 79.68, 308.48°)
OKLaboklab(43.38% 0.0708 -0.1791)
OKLCHoklch(43.38% 0.193 291.6)
XYZxyz(12.6609, 6.9707, 41.2275)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CAF #83AF2C
analogous
#2C41AF #582CAF #992CAF
triadic
#582CAF #AF582C #2CAF58
tetradic
#582CAF #AF2C41 #83AF2C #2CAF99
square
#582CAF #AF2C41 #83AF2C #2CAF99
split-complementary
#582CAF #AF992C #41AF2C
monochromatic
#27134D #3F207E #582CAF #7647D1 #9A78DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582CAF#FFFFFF#000000##FFFFFF
##582CAF1.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)
#004DB3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#3B4F6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582caf;
/* rgb */ color: rgb(88, 44, 175);
/* oklch */ color: oklch(43.4% 0.193 291.6);
Tailwind
colors: {
  custom: {
    50: '#906ac8',
    500: '#582caf',
    950: '#000000',
  },
}
SCSS
$custom: #582caf;
$custom-light: #906ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#582caf",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 260.153,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43376,
    "c": 0.19257,
    "h": 291.6
  },
  "luminance": 0.06971
}

Semantic roles & 50–950 ramp

primary
#582CAF
secondary
#A9C572
accent
#E345AE
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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