#582CB3#582CB3

#582CB3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.197 H 290.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#582CB3
RGBrgb(88, 44, 179)
HSLhsl(260, 61%, 44%)
HSVhsv(260, 75%, 70%)
CMYKcmyk(50.8%, 75.4%, 0%, 29.8%)
CIE-LABlab(32.10, 50.67, -64.17)
CIE-LCHlch(32.10, 81.77, 308.30°)
OKLaboklab(43.74% 0.0698 -0.1843)
OKLCHoklch(43.74% 0.197 290.7)
XYZxyz(13.0595, 7.1302, 43.3272)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CB3 #87B32C
analogous
#2C43B3 #582CB3 #9B2CB3
triadic
#582CB3 #B3582C #2CB358
tetradic
#582CB3 #B32C43 #87B32C #2CB39B
square
#582CB3 #B32C43 #87B32C #2CB39B
split-complementary
#582CB3 #B39B2C #43B32C
monochromatic
#281451 #402082 #582CB3 #764AD2 #9B7BDF

Accessibility & contrast

On white

8.66
#582CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#582CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CB3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CB3#FFFFFF#000000##FFFFFF
##582CB31.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#38516E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #582cb3;
/* rgb */ color: rgb(88, 44, 179);
/* oklch */ color: oklch(43.7% 0.197 290.7);
Tailwind
colors: {
  custom: {
    50: '#906acb',
    500: '#582cb3',
    950: '#000000',
  },
}
SCSS
$custom: #582cb3;
$custom-light: #906acb;
$custom-dark: #000000;
JSON
{
  "hex": "#582cb3",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 259.556,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43741,
    "c": 0.1971,
    "h": 290.7
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#582CB3
secondary
#ACC774
accent
#E444B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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