#582699#582699

#582699 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.174 H 297.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#582699
RGBrgb(88, 38, 153)
HSLhsl(266, 60%, 37%)
HSVhsv(266, 75%, 60%)
CMYKcmyk(42.5%, 75.2%, 0%, 40%)
CIE-LABlab(28.80, 46.55, -53.89)
CIE-LCHlch(28.80, 71.21, 310.82°)
OKLaboklab(40.71% 0.0816 -0.1541)
OKLCHoklch(40.71% 0.174 297.9)
XYZxyz(10.4659, 5.7607, 30.6913)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582699 #679926
analogous
#262E99 #582699 #912699
triadic
#582699 #995826 #269958
tetradic
#582699 #99262E #679926 #269991
square
#582699 #99262E #679926 #269991
split-complementary
#582699 #999126 #2E9926
monochromatic
#200E37 #3C1A68 #582699 #7432CA #9562D8

Accessibility & contrast

On white

9.76
#582699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#582699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582699
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582699#FFFFFF#000000##FFFFFF
##5826991.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582699;
/* rgb */ color: rgb(88, 38, 153);
/* oklch */ color: oklch(40.7% 0.174 297.9);
Tailwind
colors: {
  custom: {
    50: '#8d65b8',
    500: '#582699',
    950: '#000000',
  },
}
SCSS
$custom: #582699;
$custom-light: #8d65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582699",
  "rgb": {
    "r": 88,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 266.087,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.17438,
    "h": 297.9
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#582699
secondary
#94BD5E
accent
#E3449E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582699

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

Preview Lab → · Contrast checker → · Palette generator →

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