#582CC3#582CC3

#582CC3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.215 H 287.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#582CC3
RGBrgb(88, 44, 195)
HSLhsl(257, 63%, 47%)
HSVhsv(257, 77%, 76%)
CMYKcmyk(54.9%, 77.4%, 0%, 23.5%)
CIE-LABlab(33.60, 55.06, -71.17)
CIE-LCHlch(33.60, 89.98, 307.72°)
OKLaboklab(45.24% 0.0654 -0.2048)
OKLCHoklch(45.24% 0.215 287.7)
XYZxyz(14.7726, 7.8154, 52.3493)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CC3 #97C32C
analogous
#2C4CC3 #582CC3 #A32CC3
triadic
#582CC3 #C3582C #2CC358
tetradic
#582CC3 #C32C4C #97C32C #2CC3A3
square
#582CC3 #C32C4C #97C32C #2CC3A3
split-complementary
#582CC3 #C3A32C #4CC32C
monochromatic
#2B155F #412191 #582CC3 #7A54D8 #A186E4

Accessibility & contrast

On white

8.19
#582CC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#582CC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CC3
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CC3#FFFFFF#000000##FFFFFF
##582CC31.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#2A5777
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #582cc3;
/* rgb */ color: rgb(88, 44, 195);
/* oklch */ color: oklch(45.2% 0.215 287.7);
Tailwind
colors: {
  custom: {
    50: '#936bd6',
    500: '#582cc3',
    950: '#000000',
  },
}
SCSS
$custom: #582cc3;
$custom-light: #936bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#582cc3",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 257.483,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.215,
    "h": 287.7
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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