#582DA3#582DA3

#582DA3 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.178 H 294.2°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#582DA3
RGBrgb(88, 45, 163)
HSLhsl(262, 57%, 41%)
HSVhsv(262, 72%, 64%)
CMYKcmyk(46%, 72.4%, 0%, 36.1%)
CIE-LABlab(30.87, 45.80, -56.60)
CIE-LCHlch(30.87, 72.81, 308.98°)
OKLaboklab(42.44% 0.0727 -0.1621)
OKLCHoklch(42.44% 0.178 294.2)
XYZxyz(11.5719, 6.5955, 35.3066)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DA3 #78A32D
analogous
#2D3DA3 #582DA3 #932DA3
triadic
#582DA3 #A3582D #2DA358
tetradic
#582DA3 #A32D3D #78A32D #2DA393
square
#582DA3 #A32D3D #78A32D #2DA393
split-complementary
#582DA3 #A3932D #3DA32D
monochromatic
#241343 #3E2073 #582DA3 #7442CB #9772D8

Accessibility & contrast

On white

9.05
#582DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#582DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DA3
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DA3#FFFFFF#000000##FFFFFF
##582DA31.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#424B65
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #582da3;
/* rgb */ color: rgb(88, 45, 163);
/* oklch */ color: oklch(42.4% 0.178 294.2);
Tailwind
colors: {
  custom: {
    50: '#8e6abf',
    500: '#582da3',
    950: '#000000',
  },
}
SCSS
$custom: #582da3;
$custom-light: #8e6abf;
$custom-dark: #000000;
JSON
{
  "hex": "#582da3",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 261.864,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.17767,
    "h": 294.2
  },
  "luminance": 0.06596
}

Semantic roles & 50–950 ramp

primary
#582DA3
secondary
#A1C06C
accent
#E048A9
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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