#582891#582891

#582891 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.163 H 299.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#582891
RGBrgb(88, 40, 145)
HSLhsl(267, 57%, 36%)
HSVhsv(267, 72%, 57%)
CMYKcmyk(39.3%, 72.4%, 0%, 43.1%)
CIE-LABlab(28.48, 43.49, -49.51)
CIE-LCHlch(28.48, 65.90, 311.30°)
OKLaboklab(40.27% 0.0813 -0.1412)
OKLCHoklch(40.27% 0.163 299.9)
XYZxyz(9.8929, 5.6365, 27.3493)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582891 #619128
analogous
#282C91 #582891 #8D2891
triadic
#582891 #915828 #289158
tetradic
#582891 #91282C #619128 #28918D
square
#582891 #91282C #619128 #28918D
split-complementary
#582891 #918D28 #2C9128
monochromatic
#1E0E31 #3B1B61 #582891 #7535C1 #9560D3

Accessibility & contrast

On white

9.87
#582891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#582891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582891
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582891#FFFFFF#000000##FFFFFF
##5828911.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#4B425A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582891;
/* rgb */ color: rgb(88, 40, 145);
/* oklch */ color: oklch(40.3% 0.163 299.9);
Tailwind
colors: {
  custom: {
    50: '#8c66b2',
    500: '#582891',
    950: '#000000',
  },
}
SCSS
$custom: #582891;
$custom-light: #8c66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#582891",
  "rgb": {
    "r": 88,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 267.429,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40273,
    "c": 0.16299,
    "h": 299.9
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#582891
secondary
#8EB95C
accent
#E0489A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582891

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

Preview Lab → · Contrast checker → · Palette generator →

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