#582B83#582B83

#582B83 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.143 H 304.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#582B83
RGBrgb(88, 43, 131)
HSLhsl(271, 51%, 34%)
HSVhsv(271, 67%, 51%)
CMYKcmyk(32.8%, 67.2%, 0%, 48.6%)
CIE-LABlab(27.96, 38.30, -41.65)
CIE-LCHlch(27.96, 56.58, 312.60°)
OKLaboklab(39.56% 0.0799 -0.1182)
OKLCHoklch(39.56% 0.143 304.1)
XYZxyz(8.9842, 5.4412, 22.0453)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582B83 #56832B
analogous
#2C2B83 #582B83 #832B82
triadic
#582B83 #83582B #2B8358
tetradic
#582B83 #832C2B #56832B #2B8283
square
#582B83 #832C2B #56832B #2B8283
split-complementary
#582B83 #82832B #2B832C
monochromatic
#1A0D27 #391C55 #582B83 #773AB1 #955ECA

Accessibility & contrast

On white

10.06
#582B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#582B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582B83
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582B83#FFFFFF#000000##FFFFFF
##582B831.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#503E53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582b83;
/* rgb */ color: rgb(88, 43, 131);
/* oklch */ color: oklch(39.6% 0.143 304.1);
Tailwind
colors: {
  custom: {
    50: '#8b67a8',
    500: '#582b83',
    950: '#000000',
  },
}
SCSS
$custom: #582b83;
$custom-light: #8b67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#582b83",
  "rgb": {
    "r": 88,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 270.682,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39561,
    "c": 0.14266,
    "h": 304.1
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#582B83
secondary
#84B05A
accent
#DA4E92
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582B83

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

Preview Lab → · Contrast checker → · Palette generator →

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