#582799#582799

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

Color values

HEX#582799
RGBrgb(88, 39, 153)
HSLhsl(266, 59%, 38%)
HSVhsv(266, 75%, 60%)
CMYKcmyk(42.5%, 74.5%, 0%, 40%)
CIE-LABlab(28.97, 46.07, -53.62)
CIE-LCHlch(28.97, 70.69, 310.67°)
OKLaboklab(40.83% 0.0806 -0.1533)
OKLCHoklch(40.83% 0.173 297.7)
XYZxyz(10.4983, 5.8255, 30.7021)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582799 #689927
analogous
#272F99 #582799 #912799
triadic
#582799 #995827 #279958
tetradic
#582799 #99272F #689927 #279991
square
#582799 #99272F #689927 #279991
split-complementary
#582799 #999127 #2F9927
monochromatic
#200E37 #3C1B68 #582799 #7433CA #9563D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582799#FFFFFF#000000##FFFFFF
##5827991.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)
#00459C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#48445E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #582799;
/* rgb */ color: rgb(88, 39, 153);
/* oklch */ color: oklch(40.8% 0.173 297.7);
Tailwind
colors: {
  custom: {
    50: '#8d66b8',
    500: '#582799',
    950: '#000000',
  },
}
SCSS
$custom: #582799;
$custom-light: #8d66b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582799",
  "rgb": {
    "r": 88,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 265.789,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40828,
    "c": 0.17323,
    "h": 297.7
  },
  "luminance": 0.05826
}

Semantic roles & 50–950 ramp

primary
#582799
secondary
#94BD5F
accent
#E3459F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582799

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

Preview Lab → · Contrast checker → · Palette generator →

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