#582A9F#582A9F

#582A9F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.177 H 295.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#582A9F
RGBrgb(88, 42, 159)
HSLhsl(264, 58%, 39%)
HSVhsv(264, 74%, 62%)
CMYKcmyk(44.7%, 73.6%, 0%, 37.6%)
CIE-LABlab(29.99, 46.21, -55.60)
CIE-LCHlch(29.99, 72.30, 309.73°)
OKLaboklab(41.71% 0.0764 -0.1592)
OKLCHoklch(41.71% 0.177 295.7)
XYZxyz(11.1088, 6.2336, 33.4121)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A9F #719F2A
analogous
#2A369F #582A9F #932A9F
triadic
#582A9F #9F582A #2A9F58
tetradic
#582A9F #9F2A36 #719F2A #2A9F93
square
#582A9F #9F2A36 #719F2A #2A9F93
split-complementary
#582A9F #9F932A #369F2A
monochromatic
#22103E #3D1D6F #582A9F #743BCB #966BD8

Accessibility & contrast

On white

9.35
#582A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582A9F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A9F#FFFFFF#000000##FFFFFF
##582A9F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#454862
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #582a9f;
/* rgb */ color: rgb(88, 42, 159);
/* oklch */ color: oklch(41.7% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#8e68bc',
    500: '#582a9f',
    950: '#000000',
  },
}
SCSS
$custom: #582a9f;
$custom-light: #8e68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#582a9f",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 159
  },
  "hsl": {
    "h": 263.59,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.17656,
    "h": 295.7
  },
  "luminance": 0.06234
}

Semantic roles & 50–950 ramp

primary
#582A9F
secondary
#9CBF66
accent
#E146A4
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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