#582FB6#582FB6

#582FB6 is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.4% C 0.197 H 289.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#582FB6
RGBrgb(88, 47, 182)
HSLhsl(258, 59%, 45%)
HSVhsv(258, 74%, 71%)
CMYKcmyk(51.6%, 74.2%, 0%, 28.6%)
CIE-LABlab(32.89, 50.05, -64.67)
CIE-LCHlch(32.89, 81.77, 307.74°)
OKLaboklab(44.38% 0.0666 -0.1858)
OKLCHoklch(44.38% 0.197 289.7)
XYZxyz(13.4821, 7.4845, 44.9812)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582FB6 #8DB62F
analogous
#2F4AB6 #582FB6 #9B2FB6
triadic
#582FB6 #B6582F #2FB658
tetradic
#582FB6 #B62F4A #8DB62F #2FB69B
square
#582FB6 #B62F4A #8DB62F #2FB69B
split-complementary
#582FB6 #B69B2F #4AB62F
monochromatic
#291655 #402285 #582FB6 #7850D2 #9D81DE

Accessibility & contrast

On white

8.41
#582FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#582FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582FB6
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582FB6#FFFFFF#000000##FFFFFF
##582FB61.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#365470
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582fb6;
/* rgb */ color: rgb(88, 47, 182);
/* oklch */ color: oklch(44.4% 0.197 289.7);
Tailwind
colors: {
  custom: {
    50: '#916ccd',
    500: '#582fb6',
    950: '#000000',
  },
}
SCSS
$custom: #582fb6;
$custom-light: #916ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#582fb6",
  "rgb": {
    "r": 88,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 258.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.19738,
    "h": 289.7
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#582FB6
secondary
#B0C779
accent
#E246B3
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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