#582099#582099

#582099 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.1% C 0.181 H 298.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#582099
RGBrgb(88, 32, 153)
HSLhsl(268, 65%, 36%)
HSVhsv(268, 79%, 60%)
CMYKcmyk(42.5%, 79.1%, 0%, 40%)
CIE-LABlab(27.87, 49.22, -55.42)
CIE-LCHlch(27.87, 74.12, 311.61°)
OKLaboklab(40.05% 0.0869 -0.1586)
OKLCHoklch(40.05% 0.181 298.7)
XYZxyz(10.2893, 5.4075, 30.6325)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582099 #619920
analogous
#202599 #582099 #952099
triadic
#582099 #995820 #209958
tetradic
#582099 #992025 #619920 #209995
square
#582099 #992025 #619920 #209995
split-complementary
#582099 #999520 #259920
monochromatic
#1E0B34 #3B1566 #582099 #752BCC #9557DC

Accessibility & contrast

On white

10.09
#582099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#582099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582099
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582099#FFFFFF#000000##FFFFFF
##5820991.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#48415C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582099;
/* rgb */ color: rgb(88, 32, 153);
/* oklch */ color: oklch(40.1% 0.181 298.7);
Tailwind
colors: {
  custom: {
    50: '#8e62b8',
    500: '#582099',
    950: '#000000',
  },
}
SCSS
$custom: #582099;
$custom-light: #8e62b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582099",
  "rgb": {
    "r": 88,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 267.769,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40054,
    "c": 0.1808,
    "h": 298.7
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#582099
secondary
#8EC055
accent
#E83F9A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #582099

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

Preview Lab → · Contrast checker → · Palette generator →

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