#582E7D#582E7D

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

Color values

HEX#582E7D
RGBrgb(88, 46, 125)
HSLhsl(272, 46%, 34%)
HSVhsv(272, 63%, 49%)
CMYKcmyk(29.6%, 63.2%, 0%, 51%)
CIE-LABlab(28.14, 35.10, -37.59)
CIE-LCHlch(28.14, 51.43, 313.04°)
OKLaboklab(39.56% 0.0765 -0.1063)
OKLCHoklch(39.56% 0.131 305.7)
XYZxyz(8.7024, 5.5094, 20.0030)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E7D #537D2E
analogous
#302E7D #582E7D #7D2E7A
triadic
#582E7D #7D582E #2E7D58
tetradic
#582E7D #7D302E #537D2E #2E7A7D
square
#582E7D #7D302E #537D2E #2E7A7D
split-complementary
#582E7D #7A7D2E #2E7D30
monochromatic
#190D24 #391E50 #582E7D #773EAA #9661C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582E7D#FFFFFF#000000##FFFFFF
##582E7D1.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)
#054180
Deuteranopia (green-blind)
#1D437B
Tritanopia (blue-blind)
#523E51
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582e7d;
/* rgb */ color: rgb(88, 46, 125);
/* oklch */ color: oklch(39.6% 0.131 305.7);
Tailwind
colors: {
  custom: {
    50: '#8a69a3',
    500: '#582e7d',
    950: '#000000',
  },
}
SCSS
$custom: #582e7d;
$custom-light: #8a69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#582e7d",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 271.899,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39558,
    "c": 0.13092,
    "h": 305.7
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#582E7D
secondary
#81AB5B
accent
#D65290
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C060F
muted
#7D7A7F

Preview Lab

Preview with #582E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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