#582785#582785

#582785 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.151 H 304.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#582785
RGBrgb(88, 39, 133)
HSLhsl(271, 55%, 34%)
HSVhsv(271, 71%, 52%)
CMYKcmyk(33.8%, 70.7%, 0%, 47.8%)
CIE-LABlab(27.35, 40.90, -43.88)
CIE-LCHlch(27.35, 59.99, 312.98°)
OKLaboklab(39.17% 0.0844 -0.1247)
OKLCHoklch(39.17% 0.151 304.1)
XYZxyz(8.9827, 5.2192, 22.7199)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582785 #548527
analogous
#292785 #582785 #852783
triadic
#582785 #855827 #278558
tetradic
#582785 #852927 #548527 #278385
square
#582785 #852927 #548527 #278385
split-complementary
#582785 #838527 #278529
monochromatic
#190B26 #391956 #582785 #7735B4 #9658CE

Accessibility & contrast

On white

10.27
#582785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#582785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582785
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582785#FFFFFF#000000##FFFFFF
##5827851.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#004183
Tritanopia (blue-blind)
#4F3C53
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #582785;
/* rgb */ color: rgb(88, 39, 133);
/* oklch */ color: oklch(39.2% 0.151 304.1);
Tailwind
colors: {
  custom: {
    50: '#8b65a9',
    500: '#582785',
    950: '#000000',
  },
}
SCSS
$custom: #582785;
$custom-light: #8b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582785",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 271.277,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39174,
    "c": 0.15059,
    "h": 304.1
  },
  "luminance": 0.05219
}

Semantic roles & 50–950 ramp

primary
#582785
secondary
#82B355
accent
#DE4A91
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582785

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

Preview Lab → · Contrast checker → · Palette generator →

#582785 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva