#582899#582899

#582899 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.172 H 297.6°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#582899
RGBrgb(88, 40, 153)
HSLhsl(265, 59%, 38%)
HSVhsv(265, 74%, 60%)
CMYKcmyk(42.5%, 73.9%, 0%, 40%)
CIE-LABlab(29.14, 45.59, -53.34)
CIE-LCHlch(29.14, 70.17, 310.52°)
OKLaboklab(40.95% 0.0797 -0.1525)
OKLCHoklch(40.95% 0.172 297.6)
XYZxyz(10.5316, 5.8920, 30.7132)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582899 #699928
analogous
#283099 #582899 #902899
triadic
#582899 #995828 #289958
tetradic
#582899 #992830 #699928 #289990
square
#582899 #992830 #699928 #289990
split-complementary
#582899 #999028 #309928
monochromatic
#200F38 #3C1B68 #582899 #7435CA #9565D7

Accessibility & contrast

On white

9.64
#582899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#582899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582899
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582899#FFFFFF#000000##FFFFFF
##5828991.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#48455E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #582899;
/* rgb */ color: rgb(88, 40, 153);
/* oklch */ color: oklch(40.9% 0.172 297.6);
Tailwind
colors: {
  custom: {
    50: '#8d67b8',
    500: '#582899',
    950: '#000000',
  },
}
SCSS
$custom: #582899;
$custom-light: #8d67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582899",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 265.487,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.17207,
    "h": 297.6
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#582899
secondary
#95BD60
accent
#E246A0
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582899

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

Preview Lab → · Contrast checker → · Palette generator →

#582899 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva