#573284#573284

#573284 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.133 H 301.5°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#573284
RGBrgb(87, 50, 132)
HSLhsl(267, 45%, 36%)
HSVhsv(267, 62%, 52%)
CMYKcmyk(34.1%, 62.1%, 0%, 48.2%)
CIE-LABlab(29.34, 34.41, -40.05)
CIE-LCHlch(29.34, 52.80, 310.67°)
OKLaboklab(40.56% 0.0696 -0.1135)
OKLCHoklch(40.56% 0.133 301.5)
XYZxyz(9.2350, 5.9733, 22.4918)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573284 #5F8432
analogous
#323684 #573284 #803284
triadic
#573284 #845732 #328457
tetradic
#573284 #843236 #5F8432 #328480
square
#573284 #843236 #5F8432 #328480
split-complementary
#573284 #848032 #368432
monochromatic
#1C102B #3A2158 #573284 #7443B0 #946AC7

Accessibility & contrast

On white

9.57
#573284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#573284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573284
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573284#FFFFFF#000000##FFFFFF
##5732841.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034587
Deuteranopia (green-blind)
#194582
Tritanopia (blue-blind)
#4E4356
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573284;
/* rgb */ color: rgb(87, 50, 132);
/* oklch */ color: oklch(40.6% 0.133 301.5);
Tailwind
colors: {
  custom: {
    50: '#8a6ca8',
    500: '#573284',
    950: '#000000',
  },
}
SCSS
$custom: #573284;
$custom-light: #8a6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#573284",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 267.073,
    "s": 45.055,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.13313,
    "h": 301.5
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#573284
secondary
#8DAE64
accent
#D5539A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573284

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

Preview Lab → · Contrast checker → · Palette generator →

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