#582889#582889

#582889 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.154 H 302.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#582889
RGBrgb(88, 40, 137)
HSLhsl(270, 55%, 35%)
HSVhsv(270, 71%, 54%)
CMYKcmyk(35.8%, 70.8%, 0%, 46.3%)
CIE-LABlab(27.84, 41.41, -45.58)
CIE-LCHlch(27.84, 61.59, 312.25°)
OKLaboklab(39.62% 0.0827 -0.1297)
OKLCHoklch(39.62% 0.154 302.5)
XYZxyz(9.2976, 5.3984, 24.2142)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582889 #598928
analogous
#282889 #582889 #892889
triadic
#582889 #895828 #288958
tetradic
#582889 #892828 #598928 #288989
square
#582889 #892828 #598928 #288989
split-complementary
#582889 #898928 #288928
monochromatic
#1B0C2A #3A1A5A #582889 #7636B8 #955CCF

Accessibility & contrast

On white

10.10
#582889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582889
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582889#FFFFFF#000000##FFFFFF
##5828891.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#4E3F55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582889;
/* rgb */ color: rgb(88, 40, 137);
/* oklch */ color: oklch(39.6% 0.154 302.5);
Tailwind
colors: {
  custom: {
    50: '#8c66ac',
    500: '#582889',
    950: '#000000',
  },
}
SCSS
$custom: #582889;
$custom-light: #8c66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#582889",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 269.691,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39621,
    "c": 0.15383,
    "h": 302.5
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#582889
secondary
#87B558
accent
#DE4A95
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0610
muted
#7D7A7F

Preview Lab

Preview with #582889

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

Preview Lab → · Contrast checker → · Palette generator →

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