#582897#582897

#582897 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.170 H 298.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#582897
RGBrgb(88, 40, 151)
HSLhsl(266, 58%, 37%)
HSVhsv(266, 74%, 59%)
CMYKcmyk(41.7%, 73.5%, 0%, 40.8%)
CIE-LABlab(28.97, 45.06, -52.39)
CIE-LCHlch(28.97, 69.10, 310.70°)
OKLaboklab(40.78% 0.0801 -0.1497)
OKLCHoklch(40.78% 0.17 298.1)
XYZxyz(10.3678, 5.8265, 29.8505)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582897 #679728
analogous
#283097 #582897 #902897
triadic
#582897 #975828 #289758
tetradic
#582897 #972830 #679728 #289790
square
#582897 #972830 #679728 #289790
split-complementary
#582897 #979028 #309728
monochromatic
#200E36 #3C1B67 #582897 #7435C7 #9564D6

Accessibility & contrast

On white

9.70
#582897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#582897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582897
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582897#FFFFFF#000000##FFFFFF
##5828971.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#48445D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582897;
/* rgb */ color: rgb(88, 40, 151);
/* oklch */ color: oklch(40.8% 0.170 298.1);
Tailwind
colors: {
  custom: {
    50: '#8d66b6',
    500: '#582897',
    950: '#000000',
  },
}
SCSS
$custom: #582897;
$custom-light: #8d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582897",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 265.946,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40778,
    "c": 0.1698,
    "h": 298.1
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#582897
secondary
#94BC5F
accent
#E1469E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582897

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

Preview Lab → · Contrast checker → · Palette generator →

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