#573288#573288

#573288 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.9% C 0.138 H 300.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#573288
RGBrgb(87, 50, 136)
HSLhsl(266, 46%, 36%)
HSVhsv(266, 63%, 53%)
CMYKcmyk(36%, 63.2%, 0%, 46.7%)
CIE-LABlab(29.63, 35.49, -42.08)
CIE-LCHlch(29.63, 55.05, 310.14°)
OKLaboklab(40.86% 0.0694 -0.1195)
OKLCHoklch(40.86% 0.138 300.1)
XYZxyz(9.5139, 6.0849, 23.9611)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573288 #638832
analogous
#323888 #573288 #823288
triadic
#573288 #885732 #328857
tetradic
#573288 #883238 #638832 #328882
square
#573288 #883238 #638832 #328882
split-complementary
#573288 #888232 #388832
monochromatic
#1E112F #3A225B #573288 #7442B5 #946CC9

Accessibility & contrast

On white

9.47
#573288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#573288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573288
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573288#FFFFFF#000000##FFFFFF
##5732881.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#134586
Tritanopia (blue-blind)
#4C4458
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #573288;
/* rgb */ color: rgb(87, 50, 136);
/* oklch */ color: oklch(40.9% 0.138 300.1);
Tailwind
colors: {
  custom: {
    50: '#8a6cab',
    500: '#573288',
    950: '#000000',
  },
}
SCSS
$custom: #573288;
$custom-light: #8a6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#573288",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 265.814,
    "s": 46.237,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40856,
    "c": 0.13818,
    "h": 300.1
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#573288
secondary
#90B065
accent
#D6529D
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573288

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

Preview Lab → · Contrast checker → · Palette generator →

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