#582A92#582A92

#582A92 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.162 H 299.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#582A92
RGBrgb(88, 42, 146)
HSLhsl(267, 55%, 37%)
HSVhsv(267, 71%, 57%)
CMYKcmyk(39.7%, 71.2%, 0%, 42.7%)
CIE-LABlab(28.92, 42.74, -49.41)
CIE-LCHlch(28.92, 65.33, 310.87°)
OKLaboklab(40.61% 0.079 -0.141)
OKLCHoklch(40.61% 0.162 299.3)
XYZxyz(10.0395, 5.8058, 27.7803)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A92 #64922A
analogous
#2A3092 #582A92 #8C2A92
triadic
#582A92 #92582A #2A9258
tetradic
#582A92 #922A30 #64922A #2A928C
square
#582A92 #922A30 #64922A #2A928C
split-complementary
#582A92 #928C2A #30922A
monochromatic
#1F0F33 #3B1C62 #582A92 #7538C2 #9564D2

Accessibility & contrast

On white

9.72
#582A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#582A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A92
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A92#FFFFFF#000000##FFFFFF
##582A921.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004390
Tritanopia (blue-blind)
#4A435B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582a92;
/* rgb */ color: rgb(88, 42, 146);
/* oklch */ color: oklch(40.6% 0.162 299.3);
Tailwind
colors: {
  custom: {
    50: '#8c67b3',
    500: '#582a92',
    950: '#000000',
  },
}
SCSS
$custom: #582a92;
$custom-light: #8c67b3;
$custom-dark: #000000;
JSON
{
  "hex": "#582a92",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 266.538,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40612,
    "c": 0.16161,
    "h": 299.3
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#582A92
secondary
#91B85F
accent
#DF499D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582A92

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

Preview Lab → · Contrast checker → · Palette generator →

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