#573282#573282

#573282 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.4% C 0.131 H 302.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#573282
RGBrgb(87, 50, 130)
HSLhsl(268, 44%, 35%)
HSVhsv(268, 62%, 51%)
CMYKcmyk(33.1%, 61.5%, 0%, 49%)
CIE-LABlab(29.21, 33.87, -39.02)
CIE-LCHlch(29.21, 51.67, 310.96°)
OKLaboklab(40.42% 0.0696 -0.1105)
OKLCHoklch(40.42% 0.131 302.2)
XYZxyz(9.0994, 5.9191, 21.7779)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573282 #5D8232
analogous
#323582 #573282 #7F3282
triadic
#573282 #825732 #328257
tetradic
#573282 #823235 #5D8232 #32827F
square
#573282 #823235 #5D8232 #32827F
split-complementary
#573282 #827F32 #358232
monochromatic
#1C102A #392156 #573282 #7543AE #9469C5

Accessibility & contrast

On white

9.62
#573282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#573282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573282
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573282#FFFFFF#000000##FFFFFF
##5732821.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084485
Deuteranopia (green-blind)
#1C4580
Tritanopia (blue-blind)
#4F4255
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573282;
/* rgb */ color: rgb(87, 50, 130);
/* oklch */ color: oklch(40.4% 0.131 302.2);
Tailwind
colors: {
  custom: {
    50: '#8a6ca7',
    500: '#573282',
    950: '#000000',
  },
}
SCSS
$custom: #573282;
$custom-light: #8a6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#573282",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 267.75,
    "s": 44.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40418,
    "c": 0.13059,
    "h": 302.2
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#573282
secondary
#8BAD63
accent
#D45499
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #573282

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

Preview Lab → · Contrast checker → · Palette generator →

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