#582BA4#582BA4

#582BA4 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.181 H 294.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#582BA4
RGBrgb(88, 43, 164)
HSLhsl(262, 58%, 41%)
HSVhsv(262, 74%, 64%)
CMYKcmyk(46.3%, 73.8%, 0%, 35.7%)
CIE-LABlab(30.60, 47.07, -57.64)
CIE-LCHlch(30.60, 74.42, 309.23°)
OKLaboklab(42.27% 0.0744 -0.1652)
OKLCHoklch(42.27% 0.181 294.2)
XYZxyz(11.5874, 6.4825, 35.7555)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BA4 #77A42B
analogous
#2B3AA4 #582BA4 #942BA4
triadic
#582BA4 #A4582B #2BA458
tetradic
#582BA4 #A42B3A #77A42B #2BA494
square
#582BA4 #A42B3A #77A42B #2BA494
split-complementary
#582BA4 #A4942B #3AA42B
monochromatic
#241243 #3E1E74 #582BA4 #743FCD #9770D9

Accessibility & contrast

On white

9.14
#582BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#582BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BA4
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BA4#FFFFFF#000000##FFFFFF
##582BA41.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#424B65
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ba4;
/* rgb */ color: rgb(88, 43, 164);
/* oklch */ color: oklch(42.3% 0.181 294.2);
Tailwind
colors: {
  custom: {
    50: '#8e69c0',
    500: '#582ba4',
    950: '#000000',
  },
}
SCSS
$custom: #582ba4;
$custom-light: #8e69c0;
$custom-dark: #000000;
JSON
{
  "hex": "#582ba4",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 262.314,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42272,
    "c": 0.18114,
    "h": 294.2
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#582BA4
secondary
#A0C16A
accent
#E246A8
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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