#582A7F#582A7F

#582A7F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.1% C 0.139 H 305.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#582A7F
RGBrgb(88, 42, 127)
HSLhsl(272, 50%, 33%)
HSVhsv(272, 67%, 50%)
CMYKcmyk(30.7%, 66.9%, 0%, 50.2%)
CIE-LABlab(27.47, 37.81, -39.93)
CIE-LCHlch(27.47, 54.99, 313.44°)
OKLaboklab(39.12% 0.0815 -0.1131)
OKLCHoklch(39.12% 0.139 305.8)
XYZxyz(8.6824, 5.2630, 20.6330)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582A7F #517F2A
analogous
#2E2A7F #582A7F #7F2A7B
triadic
#582A7F #7F582A #2A7F58
tetradic
#582A7F #7F2E2A #517F2A #2A7B7F
square
#582A7F #7F2E2A #517F2A #2A7B7F
split-complementary
#582A7F #7B7F2A #2A7F2E
monochromatic
#180C23 #381B51 #582A7F #7839AD #965BC9

Accessibility & contrast

On white

10.23
#582A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582A7F
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582A7F#FFFFFF#000000##FFFFFF
##582A7F1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#15417D
Tritanopia (blue-blind)
#513C50
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582a7f;
/* rgb */ color: rgb(88, 42, 127);
/* oklch */ color: oklch(39.1% 0.139 305.8);
Tailwind
colors: {
  custom: {
    50: '#8a67a5',
    500: '#582a7f',
    950: '#000000',
  },
}
SCSS
$custom: #582a7f;
$custom-light: #8a67a5;
$custom-dark: #000000;
JSON
{
  "hex": "#582a7f",
  "rgb": {
    "r": 88,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 272.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.1394,
    "h": 305.8
  },
  "luminance": 0.05263
}

Semantic roles & 50–950 ramp

primary
#582A7F
secondary
#7FAE57
accent
#DA4E8E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #582A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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