#582CB1#582CB1

#582CB1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.195 H 291.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#582CB1
RGBrgb(88, 44, 177)
HSLhsl(260, 60%, 43%)
HSVhsv(260, 75%, 69%)
CMYKcmyk(50.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(31.92, 50.13, -63.28)
CIE-LCHlch(31.92, 80.73, 308.38°)
OKLaboklab(43.56% 0.0703 -0.1817)
OKLCHoklch(43.56% 0.195 291.2)
XYZxyz(12.8587, 7.0499, 42.2697)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CB1 #85B12C
analogous
#2C42B1 #582CB1 #9A2CB1
triadic
#582CB1 #B1582C #2CB158
tetradic
#582CB1 #B12C42 #85B12C #2CB19A
square
#582CB1 #B12C42 #85B12C #2CB19A
split-complementary
#582CB1 #B19A2C #42B12C
monochromatic
#27144F #402080 #582CB1 #7649D2 #9B7ADE

Accessibility & contrast

On white

8.71
#582CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#582CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CB1
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CB1#FFFFFF#000000##FFFFFF
##582CB11.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#3A506D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582cb1;
/* rgb */ color: rgb(88, 44, 177);
/* oklch */ color: oklch(43.6% 0.195 291.2);
Tailwind
colors: {
  custom: {
    50: '#906ac9',
    500: '#582cb1',
    950: '#000000',
  },
}
SCSS
$custom: #582cb1;
$custom-light: #906ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#582cb1",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 259.85,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43558,
    "c": 0.19484,
    "h": 291.2
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#582CB1
secondary
#AAC673
accent
#E344AF
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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