#582685#582685

#582685 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.152 H 304.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#582685
RGBrgb(88, 38, 133)
HSLhsl(272, 56%, 34%)
HSVhsv(272, 71%, 52%)
CMYKcmyk(33.8%, 71.4%, 0%, 47.8%)
CIE-LABlab(27.17, 41.40, -44.18)
CIE-LCHlch(27.17, 60.54, 313.14°)
OKLaboklab(39.05% 0.0855 -0.1256)
OKLCHoklch(39.05% 0.152 304.3)
XYZxyz(8.9503, 5.1544, 22.7091)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582685 #538526
analogous
#282685 #582685 #852682
triadic
#582685 #855826 #268558
tetradic
#582685 #852826 #538526 #268285
square
#582685 #852826 #538526 #268285
split-complementary
#582685 #828526 #268528
monochromatic
#190B26 #391855 #582685 #7734B5 #9657CF

Accessibility & contrast

On white

10.34
#582685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#582685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582685
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582685#FFFFFF#000000##FFFFFF
##5826851.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#4F3C52
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582685;
/* rgb */ color: rgb(88, 38, 133);
/* oklch */ color: oklch(39.0% 0.152 304.3);
Tailwind
colors: {
  custom: {
    50: '#8b65a9',
    500: '#582685',
    950: '#000000',
  },
}
SCSS
$custom: #582685;
$custom-light: #8b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#582685",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 271.579,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.15192,
    "h": 304.3
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#582685
secondary
#81B353
accent
#DF4990
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582685

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

Preview Lab → · Contrast checker → · Palette generator →

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