#582CBA#582CBA

#582CBA is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.205 H 289.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#582CBA
RGBrgb(88, 44, 186)
HSLhsl(259, 62%, 45%)
HSVhsv(259, 76%, 73%)
CMYKcmyk(52.7%, 76.3%, 0%, 27.1%)
CIE-LABlab(32.75, 52.59, -67.27)
CIE-LCHlch(32.75, 85.39, 308.02°)
OKLaboklab(44.39% 0.0679 -0.1934)
OKLCHoklch(44.39% 0.205 289.4)
XYZxyz(13.7855, 7.4206, 47.1508)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582CBA #8EBA2C
analogous
#2C47BA #582CBA #9F2CBA
triadic
#582CBA #BA582C #2CBA58
tetradic
#582CBA #BA2C47 #8EBA2C #2CBA9F
square
#582CBA #BA2C47 #8EBA2C #2CBA9F
split-complementary
#582CBA #BA9F2C #47BA2C
monochromatic
#291557 #412089 #582CBA #784ED5 #9E80E1

Accessibility & contrast

On white

8.45
#582CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#582CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582CBA
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582CBA#FFFFFF#000000##FFFFFF
##582CBA1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#004AB7
Tritanopia (blue-blind)
#335472
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #582cba;
/* rgb */ color: rgb(88, 44, 186);
/* oklch */ color: oklch(44.4% 0.205 289.4);
Tailwind
colors: {
  custom: {
    50: '#916ad0',
    500: '#582cba',
    950: '#000000',
  },
}
SCSS
$custom: #582cba;
$custom-light: #916ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#582cba",
  "rgb": {
    "r": 88,
    "g": 44,
    "b": 186
  },
  "hsl": {
    "h": 258.592,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.20498,
    "h": 289.4
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#582CBA
secondary
#B0CA78
accent
#E543B3
background
#F9F6FC
surface
#F2EBF9
border
#CCC6D2
text
#0E0714
muted
#7E7A82

Preview Lab

Preview with #582CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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