#582AC3#582AC3

#582AC3 is a mid, highly saturated violet. Relative luminance 0.077; OKLCH L 45.0% C 0.217 H 287.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#582AC3
RGBrgb(88, 42, 195)
HSLhsl(258, 65%, 46%)
HSVhsv(258, 78%, 76%)
CMYKcmyk(54.9%, 78.5%, 0%, 23.5%)
CIE-LABlab(33.29, 55.95, -71.68)
CIE-LCHlch(33.29, 90.93, 307.97°)
OKLaboklab(45.02% 0.0667 -0.2063)
OKLCHoklch(45.02% 0.217 287.9)
XYZxyz(14.6999, 7.6700, 52.3251)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AC3 #95C32A
analogous
#2A49C3 #582AC3 #A52AC3
triadic
#582AC3 #C3582A #2AC358
tetradic
#582AC3 #C32A49 #95C32A #2AC3A5
square
#582AC3 #C32A49 #95C32A #2AC3A5
split-complementary
#582AC3 #C3A52A #49C32A
monochromatic
#2B145E #411F91 #582AC3 #7A51D9 #A083E4

Accessibility & contrast

On white

8.29
#582AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#582AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AC3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AC3#FFFFFF#000000##FFFFFF
##582AC31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#2A5776
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #582ac3;
/* rgb */ color: rgb(88, 42, 195);
/* oklch */ color: oklch(45.0% 0.217 287.9);
Tailwind
colors: {
  custom: {
    50: '#936ad6',
    500: '#582ac3',
    950: '#000000',
  },
}
SCSS
$custom: #582ac3;
$custom-light: #936ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#582ac3",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 258.039,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45024,
    "c": 0.21681,
    "h": 287.9
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#582AC3
secondary
#B5CD7B
accent
#E840B5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #582AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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