#582696#582696

#582696 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.171 H 298.8°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#582696
RGBrgb(88, 38, 150)
HSLhsl(267, 60%, 37%)
HSVhsv(267, 75%, 59%)
CMYKcmyk(41.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(28.55, 45.76, -52.47)
CIE-LCHlch(28.55, 69.62, 311.10°)
OKLaboklab(40.45% 0.0823 -0.1499)
OKLCHoklch(40.45% 0.171 298.8)
XYZxyz(10.2212, 5.6628, 29.4028)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582696 #649626
analogous
#262C96 #582696 #902696
triadic
#582696 #965826 #269658
tetradic
#582696 #96262C #649626 #269690
square
#582696 #96262C #649626 #269690
split-complementary
#582696 #969026 #2C9626
monochromatic
#1F0D34 #3B1A65 #582696 #7532C7 #9560D7

Accessibility & contrast

On white

9.85
#582696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #582696
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582696#FFFFFF#000000##FFFFFF
##5826961.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#49435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #582696;
/* rgb */ color: rgb(88, 38, 150);
/* oklch */ color: oklch(40.5% 0.171 298.8);
Tailwind
colors: {
  custom: {
    50: '#8d65b6',
    500: '#582696',
    950: '#000000',
  },
}
SCSS
$custom: #582696;
$custom-light: #8d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#582696",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 266.786,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40451,
    "c": 0.17103,
    "h": 298.8
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#582696
secondary
#91BC5C
accent
#E3459C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582696

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

Preview Lab → · Contrast checker → · Palette generator →

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