#582CA6#582CA6

#582CA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.182 H 293.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#582CA6
RGBrgb(88, 44, 166)
HSLhsl(262, 58%, 41%)
HSVhsv(262, 73%, 65%)
CMYKcmyk(47%, 73.5%, 0%, 34.9%)
CIE-LABlab(30.95, 47.12, -58.28)
CIE-LCHlch(30.95, 74.94, 308.96°)
OKLaboklab(42.57% 0.073 -0.167)
OKLCHoklch(42.57% 0.182 293.6)
XYZxyz(11.8062, 6.6289, 36.7264)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CA6 #7AA62C
analogous
#2C3DA6 #582CA6 #952CA6
triadic
#582CA6 #A6582C #2CA658
tetradic
#582CA6 #A62C3D #7AA62C #2CA695
square
#582CA6 #A62C3D #7AA62C #2CA695
split-complementary
#582CA6 #A6952C #3DA62C
monochromatic
#251245 #3E1F76 #582CA6 #7442CD #9873DA

Accessibility & contrast

On white

9.03
#582CA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582CA6
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CA6#FFFFFF#000000##FFFFFF
##582CA61.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582ca6;
/* rgb */ color: rgb(88, 44, 166);
/* oklch */ color: oklch(42.6% 0.182 293.6);
Tailwind
colors: {
  custom: {
    50: '#8f69c1',
    500: '#582ca6',
    950: '#000000',
  },
}
SCSS
$custom: #582ca6;
$custom-light: #8f69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#582ca6",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 261.639,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42572,
    "c": 0.18229,
    "h": 293.6
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #582CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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