#582A7E#582A7E

#582A7E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.138 H 306.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#582A7E
RGBrgb(88, 42, 126)
HSLhsl(273, 50%, 33%)
HSVhsv(273, 67%, 49%)
CMYKcmyk(30.2%, 66.7%, 0%, 50.6%)
CIE-LABlab(27.40, 37.55, -39.41)
CIE-LCHlch(27.40, 54.44, 313.62°)
OKLaboklab(39.05% 0.0816 -0.1116)
OKLCHoklch(39.05% 0.138 306.2)
XYZxyz(8.6176, 5.2371, 20.2915)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A7E #507E2A
analogous
#2E2A7E #582A7E #7E2A7A
triadic
#582A7E #7E582A #2A7E58
tetradic
#582A7E #7E2E2A #507E2A #2A7A7E
square
#582A7E #7E2E2A #507E2A #2A7A7E
split-complementary
#582A7E #7A7E2A #2A7E2E
monochromatic
#180B22 #381B50 #582A7E #7839AC #965AC8

Accessibility & contrast

On white

10.26
#582A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#582A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582A7E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A7E#FFFFFF#000000##FFFFFF
##582A7E1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#523C50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582a7e;
/* rgb */ color: rgb(88, 42, 126);
/* oklch */ color: oklch(39.0% 0.138 306.2);
Tailwind
colors: {
  custom: {
    50: '#8a67a4',
    500: '#582a7e',
    950: '#000000',
  },
}
SCSS
$custom: #582a7e;
$custom-light: #8a67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#582a7e",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 272.857,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.13822,
    "h": 306.2
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#582A7E
secondary
#7EAE56
accent
#DA4E8D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #582A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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