#582199#582199

#582199 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.2% C 0.180 H 298.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#582199
RGBrgb(88, 33, 153)
HSLhsl(268, 65%, 36%)
HSVhsv(268, 78%, 60%)
CMYKcmyk(42.5%, 78.4%, 0%, 40%)
CIE-LABlab(28.01, 48.80, -55.18)
CIE-LCHlch(28.01, 73.66, 311.49°)
OKLaboklab(40.16% 0.086 -0.1579)
OKLCHoklch(40.16% 0.18 298.6)
XYZxyz(10.3167, 5.4622, 30.6416)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582199 #629921
analogous
#212699 #582199 #942199
triadic
#582199 #995821 #219958
tetradic
#582199 #992126 #629921 #219994
square
#582199 #992126 #629921 #219994
split-complementary
#582199 #999421 #269921
monochromatic
#1E0B34 #3B1667 #582199 #752CCB #9559DB

Accessibility & contrast

On white

10.04
#582199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#582199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582199
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582199#FFFFFF#000000##FFFFFF
##5821991.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.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: #582199;
/* rgb */ color: rgb(88, 33, 153);
/* oklch */ color: oklch(40.2% 0.180 298.6);
Tailwind
colors: {
  custom: {
    50: '#8e63b8',
    500: '#582199',
    950: '#000000',
  },
}
SCSS
$custom: #582199;
$custom-light: #8e63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582199",
  "rgb": {
    "r": 88,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 267.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40157,
    "c": 0.17978,
    "h": 298.6
  },
  "luminance": 0.05462
}

Semantic roles & 50–950 ramp

primary
#582199
secondary
#8FBF56
accent
#E8409B
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582199

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

Preview Lab → · Contrast checker → · Palette generator →

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