#582A9B#582A9B

#582A9B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.172 H 296.7°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#582A9B
RGBrgb(88, 42, 155)
HSLhsl(264, 57%, 39%)
HSVhsv(264, 73%, 61%)
CMYKcmyk(43.2%, 72.9%, 0%, 39.2%)
CIE-LABlab(29.66, 45.14, -53.72)
CIE-LCHlch(29.66, 70.16, 310.04°)
OKLaboklab(41.37% 0.0773 -0.1536)
OKLCHoklch(41.37% 0.172 296.7)
XYZxyz(10.7673, 6.0970, 31.6135)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A9B #6D9B2A
analogous
#2A349B #582A9B #902A9B
triadic
#582A9B #9B582A #2A9B58
tetradic
#582A9B #9B2A34 #6D9B2A #2A9B90
square
#582A9B #9B2A34 #6D9B2A #2A9B90
split-complementary
#582A9B #9B902A #349B2A
monochromatic
#21103B #3D1D6B #582A9B #7439C9 #9669D6

Accessibility & contrast

On white

9.46
#582A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#582A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A9B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A9B#FFFFFF#000000##FFFFFF
##582A9B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004499
Tritanopia (blue-blind)
#474760
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #582a9b;
/* rgb */ color: rgb(88, 42, 155);
/* oklch */ color: oklch(41.4% 0.172 296.7);
Tailwind
colors: {
  custom: {
    50: '#8d68b9',
    500: '#582a9b',
    950: '#000000',
  },
}
SCSS
$custom: #582a9b;
$custom-light: #8d68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#582a9b",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 264.425,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41368,
    "c": 0.17199,
    "h": 296.7
  },
  "luminance": 0.06097
}

Semantic roles & 50–950 ramp

primary
#582A9B
secondary
#99BD64
accent
#E147A2
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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