#582DA5#582DA5

#582DA5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.6% C 0.180 H 293.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#582DA5
RGBrgb(88, 45, 165)
HSLhsl(262, 57%, 41%)
HSVhsv(262, 73%, 65%)
CMYKcmyk(46.7%, 72.7%, 0%, 35.3%)
CIE-LABlab(31.04, 46.35, -57.53)
CIE-LCHlch(31.04, 73.87, 308.86°)
OKLaboklab(42.61% 0.0723 -0.1648)
OKLCHoklch(42.61% 0.18 293.7)
XYZxyz(11.7526, 6.6677, 36.2578)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DA5 #7AA52D
analogous
#2D3EA5 #582DA5 #942DA5
triadic
#582DA5 #A5582D #2DA558
tetradic
#582DA5 #A52D3E #7AA52D #2DA594
square
#582DA5 #A52D3E #7AA52D #2DA594
split-complementary
#582DA5 #A5942D #3EA52D
monochromatic
#251345 #3E2075 #582DA5 #7443CC #9873D9

Accessibility & contrast

On white

9.00
#582DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#582DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DA5
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DA5#FFFFFF#000000##FFFFFF
##582DA51.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#414C66
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582da5;
/* rgb */ color: rgb(88, 45, 165);
/* oklch */ color: oklch(42.6% 0.180 293.7);
Tailwind
colors: {
  custom: {
    50: '#8e6ac1',
    500: '#582da5',
    950: '#000000',
  },
}
SCSS
$custom: #582da5;
$custom-light: #8e6ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#582da5",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 261.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.17999,
    "h": 293.7
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#582DA5
secondary
#A3C16D
accent
#E047AA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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