#582E86#582E86

#582E86 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.142 H 302.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#582E86
RGBrgb(88, 46, 134)
HSLhsl(269, 49%, 35%)
HSVhsv(269, 66%, 53%)
CMYKcmyk(34.3%, 65.7%, 0%, 47.5%)
CIE-LABlab(28.77, 37.45, -42.21)
CIE-LCHlch(28.77, 56.42, 311.58°)
OKLaboklab(40.22% 0.076 -0.1198)
OKLCHoklch(40.22% 0.142 302.4)
XYZxyz(9.3036, 5.7499, 23.1693)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582E86 #5C862E
analogous
#2E3086 #582E86 #842E86
triadic
#582E86 #86582E #2E8658
tetradic
#582E86 #862E30 #5C862E #2E8684
square
#582E86 #862E30 #5C862E #2E8684
split-complementary
#582E86 #86842E #30862E
monochromatic
#1C0F2B #3A1E58 #582E86 #763EB4 #9564CA

Accessibility & contrast

On white

9.77
#582E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#582E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582E86
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582E86#FFFFFF#000000##FFFFFF
##582E861.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#104484
Tritanopia (blue-blind)
#4F4155
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582e86;
/* rgb */ color: rgb(88, 46, 134);
/* oklch */ color: oklch(40.2% 0.142 302.4);
Tailwind
colors: {
  custom: {
    50: '#8b69aa',
    500: '#582e86',
    950: '#000000',
  },
}
SCSS
$custom: #582e86;
$custom-light: #8b69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#582e86",
  "rgb": {
    "r": 88,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 268.636,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40219,
    "c": 0.14188,
    "h": 302.4
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#582E86
secondary
#8AB15F
accent
#D84F97
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582E86

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

Preview Lab → · Contrast checker → · Palette generator →

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