#582890#582890

#582890 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.162 H 300.2°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#582890
RGBrgb(88, 40, 144)
HSLhsl(268, 57%, 36%)
HSVhsv(268, 72%, 56%)
CMYKcmyk(38.9%, 72.2%, 0%, 43.5%)
CIE-LABlab(28.40, 43.23, -49.02)
CIE-LCHlch(28.40, 65.36, 311.41°)
OKLaboklab(40.19% 0.0815 -0.1398)
OKLCHoklch(40.19% 0.162 300.2)
XYZxyz(9.8161, 5.6058, 26.9450)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582890 #609028
analogous
#282C90 #582890 #8C2890
triadic
#582890 #905828 #289058
tetradic
#582890 #90282C #609028 #28908C
square
#582890 #90282C #609028 #28908C
split-complementary
#582890 #908C28 #2C9028
monochromatic
#1D0D30 #3B1B60 #582890 #7535C0 #9560D3

Accessibility & contrast

On white

9.90
#582890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#582890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582890
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582890#FFFFFF#000000##FFFFFF
##5828901.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#4B4159
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582890;
/* rgb */ color: rgb(88, 40, 144);
/* oklch */ color: oklch(40.2% 0.162 300.2);
Tailwind
colors: {
  custom: {
    50: '#8c66b1',
    500: '#582890',
    950: '#000000',
  },
}
SCSS
$custom: #582890;
$custom-light: #8c66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#582890",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 267.692,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4019,
    "c": 0.16184,
    "h": 300.2
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#582890
secondary
#8DB85C
accent
#E0489A
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #582890

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

Preview Lab → · Contrast checker → · Palette generator →

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