#582BA6#582BA6

#582BA6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.183 H 293.8°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#582BA6
RGBrgb(88, 43, 166)
HSLhsl(262, 59%, 41%)
HSVhsv(262, 74%, 65%)
CMYKcmyk(47%, 74.1%, 0%, 34.9%)
CIE-LABlab(30.77, 47.61, -58.56)
CIE-LCHlch(30.77, 75.47, 309.11°)
OKLaboklab(42.45% 0.0739 -0.1679)
OKLCHoklch(42.45% 0.183 293.8)
XYZxyz(11.7694, 6.5553, 36.7142)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BA6 #79A62B
analogous
#2B3BA6 #582BA6 #952BA6
triadic
#582BA6 #A6582B #2BA658
tetradic
#582BA6 #A62B3B #79A62B #2BA695
square
#582BA6 #A62B3B #79A62B #2BA695
split-complementary
#582BA6 #A6952B #3BA62B
monochromatic
#241245 #3E1E75 #582BA6 #7441CE #9871DA

Accessibility & contrast

On white

9.09
#582BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#582BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BA6
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BA6#FFFFFF#000000##FFFFFF
##582BA61.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#414B66
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ba6;
/* rgb */ color: rgb(88, 43, 166);
/* oklch */ color: oklch(42.4% 0.183 293.8);
Tailwind
colors: {
  custom: {
    50: '#8f69c1',
    500: '#582ba6',
    950: '#000000',
  },
}
SCSS
$custom: #582ba6;
$custom-light: #8f69c1;
$custom-dark: #000000;
JSON
{
  "hex": "#582ba6",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 261.951,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.18342,
    "h": 293.8
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#582BA6
secondary
#A2C16B
accent
#E246A9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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