#582090#582090

#582090 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.171 H 301.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#582090
RGBrgb(88, 32, 144)
HSLhsl(270, 64%, 35%)
HSVhsv(270, 78%, 56%)
CMYKcmyk(38.9%, 77.8%, 0%, 43.5%)
CIE-LABlab(27.08, 46.96, -51.17)
CIE-LCHlch(27.08, 69.45, 312.55°)
OKLaboklab(39.26% 0.0893 -0.1461)
OKLCHoklch(39.26% 0.171 301.4)
XYZxyz(9.5738, 5.1213, 26.8643)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582090 #589020
analogous
#202090 #582090 #902090
triadic
#582090 #905820 #209058
tetradic
#582090 #902020 #589020 #209090
square
#582090 #902020 #589020 #209090
split-complementary
#582090 #909020 #209020
monochromatic
#1B0A2C #39155E #582090 #772BC2 #9552D9

Accessibility & contrast

On white

10.37
#582090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#582090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582090
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582090#FFFFFF#000000##FFFFFF
##5820901.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#003F8E
Tritanopia (blue-blind)
#4C3D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #582090;
/* rgb */ color: rgb(88, 32, 144);
/* oklch */ color: oklch(39.3% 0.171 301.4);
Tailwind
colors: {
  custom: {
    50: '#8d62b1',
    500: '#582090',
    950: '#000000',
  },
}
SCSS
$custom: #582090;
$custom-light: #8d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#582090",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 270,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.17123,
    "h": 301.4
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#582090
secondary
#86BC50
accent
#E74194
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582090

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

Preview Lab → · Contrast checker → · Palette generator →

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