#582AA0#582AA0

#582AA0 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.178 H 295.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#582AA0
RGBrgb(88, 42, 160)
HSLhsl(263, 58%, 40%)
HSVhsv(263, 74%, 63%)
CMYKcmyk(45%, 73.8%, 0%, 37.3%)
CIE-LABlab(30.08, 46.48, -56.07)
CIE-LCHlch(30.08, 72.83, 309.66°)
OKLaboklab(41.8% 0.0762 -0.1605)
OKLCHoklch(41.8% 0.178 295.4)
XYZxyz(11.1959, 6.2684, 33.8709)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582AA0 #72A02A
analogous
#2A37A0 #582AA0 #932AA0
triadic
#582AA0 #A0582A #2AA058
tetradic
#582AA0 #A02A37 #72A02A #2AA093
square
#582AA0 #A02A37 #72A02A #2AA093
split-complementary
#582AA0 #A0932A #37A02A
monochromatic
#23113F #3D1D70 #582AA0 #743CCC #966CD8

Accessibility & contrast

On white

9.32
#582AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#582AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582AA0
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582AA0#FFFFFF#000000##FFFFFF
##582AA01.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00459E
Tritanopia (blue-blind)
#444962
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582aa0;
/* rgb */ color: rgb(88, 42, 160);
/* oklch */ color: oklch(41.8% 0.178 295.4);
Tailwind
colors: {
  custom: {
    50: '#8e68bd',
    500: '#582aa0',
    950: '#000000',
  },
}
SCSS
$custom: #582aa0;
$custom-light: #8e68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#582aa0",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 263.39,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.1777,
    "h": 295.4
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#582AA0
secondary
#9DBF67
accent
#E246A5
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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