#582DA1#582DA1

#582DA1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.175 H 294.7°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#582DA1
RGBrgb(88, 45, 161)
HSLhsl(262, 56%, 40%)
HSVhsv(262, 72%, 63%)
CMYKcmyk(45.3%, 72%, 0%, 36.9%)
CIE-LABlab(30.70, 45.25, -55.66)
CIE-LCHlch(30.70, 71.74, 309.11°)
OKLaboklab(42.26% 0.0731 -0.1594)
OKLCHoklch(42.26% 0.175 294.7)
XYZxyz(11.3942, 6.5244, 34.3703)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582DA1 #76A12D
analogous
#2D3CA1 #582DA1 #922DA1
triadic
#582DA1 #A1582D #2DA158
tetradic
#582DA1 #A12D3C #76A12D #2DA192
square
#582DA1 #A12D3C #76A12D #2DA192
split-complementary
#582DA1 #A1922D #3CA12D
monochromatic
#241241 #3E2071 #582DA1 #7441CA #9771D7

Accessibility & contrast

On white

9.11
#582DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#582DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582DA1
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582DA1#FFFFFF#000000##FFFFFF
##582DA11.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#434A64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582da1;
/* rgb */ color: rgb(88, 45, 161);
/* oklch */ color: oklch(42.3% 0.175 294.7);
Tailwind
colors: {
  custom: {
    50: '#8e6abe',
    500: '#582da1',
    950: '#000000',
  },
}
SCSS
$custom: #582da1;
$custom-light: #8e6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#582da1",
  "rgb": {
    "r": 88,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 262.241,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.17534,
    "h": 294.7
  },
  "luminance": 0.06525
}

Semantic roles & 50–950 ramp

primary
#582DA1
secondary
#A0BF6B
accent
#E048A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0712
muted
#7E7A81

Preview Lab

Preview with #582DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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