#582599#582599

#582599 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.6% C 0.175 H 298.0°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#582599
RGBrgb(88, 37, 153)
HSLhsl(266, 61%, 37%)
HSVhsv(266, 76%, 60%)
CMYKcmyk(42.5%, 75.8%, 0%, 40%)
CIE-LABlab(28.64, 47.01, -54.16)
CIE-LCHlch(28.64, 71.72, 310.96°)
OKLaboklab(40.6% 0.0825 -0.1549)
OKLCHoklch(40.6% 0.176 298)
XYZxyz(10.4344, 5.6976, 30.6808)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582599 #669925
analogous
#252C99 #582599 #922599
triadic
#582599 #995825 #259958
tetradic
#582599 #99252C #669925 #259992
square
#582599 #99252C #669925 #259992
split-complementary
#582599 #999225 #2C9925
monochromatic
#1F0D36 #3C1968 #582599 #7431CA #9560D9

Accessibility & contrast

On white

9.81
#582599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#582599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582599
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582599#FFFFFF#000000##FFFFFF
##5825991.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #582599;
/* rgb */ color: rgb(88, 37, 153);
/* oklch */ color: oklch(40.6% 0.175 298.0);
Tailwind
colors: {
  custom: {
    50: '#8d65b8',
    500: '#582599',
    950: '#000000',
  },
}
SCSS
$custom: #582599;
$custom-light: #8d65b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582599",
  "rgb": {
    "r": 88,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 266.379,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40595,
    "c": 0.1755,
    "h": 298
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#582599
secondary
#93BE5C
accent
#E4449E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582599

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

Preview Lab → · Contrast checker → · Palette generator →

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