#582299#582299

#582299 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.179 H 298.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#582299
RGBrgb(88, 34, 153)
HSLhsl(267, 64%, 37%)
HSVhsv(267, 78%, 60%)
CMYKcmyk(42.5%, 77.8%, 0%, 40%)
CIE-LABlab(28.16, 48.36, -54.93)
CIE-LCHlch(28.16, 73.19, 311.36°)
OKLaboklab(40.26% 0.0852 -0.1571)
OKLCHoklch(40.26% 0.179 298.5)
XYZxyz(10.3448, 5.5185, 30.6510)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582299 #639922
analogous
#222899 #582299 #942299
triadic
#582299 #995822 #229958
tetradic
#582299 #992228 #639922 #229994
square
#582299 #992228 #639922 #229994
split-complementary
#582299 #999422 #289922
monochromatic
#1E0C35 #3B1767 #582299 #752DCB #955BDB

Accessibility & contrast

On white

9.98
#582299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#582299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #582299
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##582299#FFFFFF#000000##FFFFFF
##5822991.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#48425D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582299;
/* rgb */ color: rgb(88, 34, 153);
/* oklch */ color: oklch(40.3% 0.179 298.5);
Tailwind
colors: {
  custom: {
    50: '#8e63b8',
    500: '#582299',
    950: '#000000',
  },
}
SCSS
$custom: #582299;
$custom-light: #8e63b8;
$custom-dark: #000000;
JSON
{
  "hex": "#582299",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 267.227,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.17874,
    "h": 298.5
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#582299
secondary
#90BF58
accent
#E7419C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582299

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

Preview Lab → · Contrast checker → · Palette generator →

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