#582A88#582A88

#582A88 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.150 H 302.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#582A88
RGBrgb(88, 42, 136)
HSLhsl(269, 53%, 35%)
HSVhsv(269, 69%, 53%)
CMYKcmyk(35.3%, 69.1%, 0%, 46.7%)
CIE-LABlab(28.14, 40.12, -44.48)
CIE-LCHlch(28.14, 59.90, 312.05°)
OKLaboklab(39.81% 0.0806 -0.1265)
OKLCHoklch(39.81% 0.15 302.5)
XYZxyz(9.2954, 5.5082, 23.8613)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A88 #5A882A
analogous
#2A2B88 #582A88 #872A88
triadic
#582A88 #88582A #2A8858
tetradic
#582A88 #882A2B #5A882A #2A8887
square
#582A88 #882A2B #5A882A #2A8887
split-complementary
#582A88 #88872A #2B882A
monochromatic
#1B0D2A #3A1C59 #582A88 #7638B7 #955FCE

Accessibility & contrast

On white

9.99
#582A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#582A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A88
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A88#FFFFFF#000000##FFFFFF
##582A881.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428B
Deuteranopia (green-blind)
#004286
Tritanopia (blue-blind)
#4E3F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582a88;
/* rgb */ color: rgb(88, 42, 136);
/* oklch */ color: oklch(39.8% 0.150 302.5);
Tailwind
colors: {
  custom: {
    50: '#8b67ab',
    500: '#582a88',
    950: '#000000',
  },
}
SCSS
$custom: #582a88;
$custom-light: #8b67ab;
$custom-dark: #000000;
JSON
{
  "hex": "#582a88",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 269.362,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39808,
    "c": 0.14997,
    "h": 302.5
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#582A88
secondary
#88B35B
accent
#DC4C95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582A88

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

Preview Lab → · Contrast checker → · Palette generator →

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