#582089#582089

#582089 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.164 H 303.8°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#582089
RGBrgb(88, 32, 137)
HSLhsl(272, 62%, 33%)
HSVhsv(272, 77%, 54%)
CMYKcmyk(35.8%, 76.6%, 0%, 46.3%)
CIE-LABlab(26.49, 45.22, -47.78)
CIE-LCHlch(26.49, 65.79, 313.43°)
OKLaboklab(38.66% 0.091 -0.1361)
OKLCHoklch(38.66% 0.164 303.8)
XYZxyz(9.0553, 4.9139, 24.1335)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582089 #518920
analogous
#232089 #582089 #892085
triadic
#582089 #895820 #208958
tetradic
#582089 #892320 #518920 #208589
square
#582089 #892320 #518920 #208589
split-complementary
#582089 #858920 #208923
monochromatic
#180926 #381457 #582089 #782CBB #964ED6

Accessibility & contrast

On white

10.59
#582089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#582089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582089
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582089#FFFFFF#000000##FFFFFF
##5820891.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#4E3A53
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #582089;
/* rgb */ color: rgb(88, 32, 137);
/* oklch */ color: oklch(38.7% 0.164 303.8);
Tailwind
colors: {
  custom: {
    50: '#8c62ac',
    500: '#582089',
    950: '#000000',
  },
}
SCSS
$custom: #582089;
$custom-light: #8c62ac;
$custom-dark: #000000;
JSON
{
  "hex": "#582089",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 272,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38661,
    "c": 0.16375,
    "h": 303.8
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#582089
secondary
#7FB94C
accent
#E5438E
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0D0510
muted
#7D7A7F

Preview Lab

Preview with #582089

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

Preview Lab → · Contrast checker → · Palette generator →

#582089 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva