#582BB4#582BB4

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

Color values

HEX#582BB4
RGBrgb(88, 43, 180)
HSLhsl(260, 61%, 44%)
HSVhsv(260, 76%, 71%)
CMYKcmyk(51.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(32.03, 51.42, -64.89)
CIE-LCHlch(32.03, 82.79, 308.39°)
OKLaboklab(43.72% 0.0703 -0.1864)
OKLCHoklch(43.72% 0.199 290.7)
XYZxyz(13.1242, 7.0972, 43.8495)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BB4 #87B42B
analogous
#2B42B4 #582BB4 #9C2BB4
triadic
#582BB4 #B4582B #2BB458
tetradic
#582BB4 #B42B42 #87B42B #2BB49C
square
#582BB4 #B42B42 #87B42B #2BB49C
split-complementary
#582BB4 #B49C2B #42B42B
monochromatic
#281351 #401F83 #582BB4 #7649D3 #9B7ADF

Accessibility & contrast

On white

8.68
#582BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#582BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BB4
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BB4#FFFFFF#000000##FFFFFF
##582BB41.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582bb4;
/* rgb */ color: rgb(88, 43, 180);
/* oklch */ color: oklch(43.7% 0.199 290.7);
Tailwind
colors: {
  custom: {
    50: '#9169cc',
    500: '#582bb4',
    950: '#000000',
  },
}
SCSS
$custom: #582bb4;
$custom-light: #9169cc;
$custom-dark: #000000;
JSON
{
  "hex": "#582bb4",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 259.708,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43716,
    "c": 0.19925,
    "h": 290.7
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#582BB4
secondary
#ACC773
accent
#E543B0
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #582BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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