#582BA3#582BA3

#582BA3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.180 H 294.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#582BA3
RGBrgb(88, 43, 163)
HSLhsl(263, 58%, 40%)
HSVhsv(263, 74%, 64%)
CMYKcmyk(46%, 73.6%, 0%, 36.1%)
CIE-LABlab(30.51, 46.80, -57.18)
CIE-LCHlch(30.51, 73.89, 309.30°)
OKLaboklab(42.19% 0.0746 -0.1638)
OKLCHoklch(42.19% 0.18 294.5)
XYZxyz(11.4974, 6.4465, 35.2817)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582BA3 #76A32B
analogous
#2B3AA3 #582BA3 #942BA3
triadic
#582BA3 #A3582B #2BA358
tetradic
#582BA3 #A32B3A #76A32B #2BA394
square
#582BA3 #A32B3A #76A32B #2BA394
split-complementary
#582BA3 #A3942B #3AA32B
monochromatic
#241142 #3E1E73 #582BA3 #743FCC #976FD9

Accessibility & contrast

On white

9.17
#582BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#582BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582BA3
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582BA3#FFFFFF#000000##FFFFFF
##582BA31.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#424A64
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #582ba3;
/* rgb */ color: rgb(88, 43, 163);
/* oklch */ color: oklch(42.2% 0.180 294.5);
Tailwind
colors: {
  custom: {
    50: '#8e69bf',
    500: '#582ba3',
    950: '#000000',
  },
}
SCSS
$custom: #582ba3;
$custom-light: #8e69bf;
$custom-dark: #000000;
JSON
{
  "hex": "#582ba3",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 262.5,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42185,
    "c": 0.17999,
    "h": 294.5
  },
  "luminance": 0.06447
}

Semantic roles & 50–950 ramp

primary
#582BA3
secondary
#A0C06A
accent
#E146A7
background
#F9F6FB
surface
#F1EBF7
border
#CBC6D0
text
#0D0612
muted
#7E7A81

Preview Lab

Preview with #582BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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