#582CC2#582CC2

#582CC2 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.214 H 287.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#582CC2
RGBrgb(88, 44, 194)
HSLhsl(258, 63%, 47%)
HSVhsv(258, 77%, 76%)
CMYKcmyk(54.6%, 77.3%, 0%, 23.9%)
CIE-LABlab(33.50, 54.78, -70.74)
CIE-LCHlch(33.50, 89.47, 307.75°)
OKLaboklab(45.14% 0.0657 -0.2035)
OKLCHoklch(45.14% 0.214 287.9)
XYZxyz(14.6599, 7.7704, 51.7558)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CC2 #96C22C
analogous
#2C4BC2 #582CC2 #A32CC2
triadic
#582CC2 #C2582C #2CC258
tetradic
#582CC2 #C22C4B #96C22C #2CC2A3
square
#582CC2 #C22C4B #96C22C #2CC2A3
split-complementary
#582CC2 #C2A32C #4BC22C
monochromatic
#2B155E #412190 #582CC2 #7A53D8 #A185E3

Accessibility & contrast

On white

8.22
#582CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#582CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CC2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CC2#FFFFFF#000000##FFFFFF
##582CC21.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#004BBF
Tritanopia (blue-blind)
#2B5776
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582cc2;
/* rgb */ color: rgb(88, 44, 194);
/* oklch */ color: oklch(45.1% 0.214 287.9);
Tailwind
colors: {
  custom: {
    50: '#936bd6',
    500: '#582cc2',
    950: '#000000',
  },
}
SCSS
$custom: #582cc2;
$custom-light: #936bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#582cc2",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 257.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45144,
    "c": 0.21388,
    "h": 287.9
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#582CC2
secondary
#B5CD7D
accent
#E642B6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #582CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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