#582297#582297

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

Color values

HEX#582297
RGBrgb(88, 34, 151)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 59%)
CMYKcmyk(41.7%, 77.5%, 0%, 40.8%)
CIE-LABlab(27.99, 47.85, -53.99)
CIE-LCHlch(27.99, 72.15, 311.55°)
OKLaboklab(40.09% 0.0857 -0.1544)
OKLCHoklch(40.09% 0.177 299)
XYZxyz(10.1810, 5.4530, 29.7883)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#582297 #619722
analogous
#222797 #582297 #932297
triadic
#582297 #975822 #229758
tetradic
#582297 #972227 #619722 #229793
square
#582297 #972227 #619722 #229793
split-complementary
#582297 #979322 #279722
monochromatic
#1E0C33 #3B1765 #582297 #752DC9 #955ADA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##582297#FFFFFF#000000##FFFFFF
##5822971.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)
#00429A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#49415B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #582297;
/* rgb */ color: rgb(88, 34, 151);
/* oklch */ color: oklch(40.1% 0.177 299.0);
Tailwind
colors: {
  custom: {
    50: '#8d63b7',
    500: '#582297',
    950: '#000000',
  },
}
SCSS
$custom: #582297;
$custom-light: #8d63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#582297",
  "rgb": {
    "r": 88,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 267.692,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40086,
    "c": 0.17659,
    "h": 299
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#582297
secondary
#8EBE57
accent
#E6429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #582297

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

Preview Lab → · Contrast checker → · Palette generator →

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