#582A9E#582A9E

#582A9E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.175 H 295.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#582A9E
RGBrgb(88, 42, 158)
HSLhsl(264, 58%, 39%)
HSVhsv(264, 73%, 62%)
CMYKcmyk(44.3%, 73.4%, 0%, 38%)
CIE-LABlab(29.91, 45.94, -55.13)
CIE-LCHlch(29.91, 71.77, 309.81°)
OKLaboklab(41.63% 0.0767 -0.1578)
OKLCHoklch(41.63% 0.175 295.9)
XYZxyz(11.0224, 6.1990, 32.9569)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A9E #709E2A
analogous
#2A369E #582A9E #922A9E
triadic
#582A9E #9E582A #2A9E58
tetradic
#582A9E #9E2A36 #709E2A #2A9E92
square
#582A9E #9E2A36 #709E2A #2A9E92
split-complementary
#582A9E #9E922A #369E2A
monochromatic
#22103D #3D1D6E #582A9E #743ACB #966BD8

Accessibility & contrast

On white

9.38
#582A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#582A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A9E
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A9E#FFFFFF#000000##FFFFFF
##582A9E1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#454861
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582a9e;
/* rgb */ color: rgb(88, 42, 158);
/* oklch */ color: oklch(41.6% 0.175 295.9);
Tailwind
colors: {
  custom: {
    50: '#8e68bc',
    500: '#582a9e',
    950: '#000000',
  },
}
SCSS
$custom: #582a9e;
$custom-light: #8e68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#582a9e",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 263.793,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41626,
    "c": 0.17542,
    "h": 295.9
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#582A9E
secondary
#9BBE66
accent
#E147A4
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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