#573286#573286

#573286 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.136 H 300.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#573286
RGBrgb(87, 50, 134)
HSLhsl(266, 46%, 36%)
HSVhsv(266, 63%, 53%)
CMYKcmyk(35.1%, 62.7%, 0%, 47.5%)
CIE-LABlab(29.48, 34.95, -41.07)
CIE-LCHlch(29.48, 53.93, 310.40°)
OKLaboklab(40.71% 0.0695 -0.1165)
OKLCHoklch(40.71% 0.136 300.8)
XYZxyz(9.3731, 6.0286, 23.2195)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573286 #618632
analogous
#323786 #573286 #813286
triadic
#573286 #865732 #328657
tetradic
#573286 #863237 #618632 #328681
square
#573286 #863237 #618632 #328681
split-complementary
#573286 #868132 #378632
monochromatic
#1D112D #3A2159 #573286 #7443B3 #946BC8

Accessibility & contrast

On white

9.52
#573286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#573286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573286
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573286#FFFFFF#000000##FFFFFF
##5732861.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#164584
Tritanopia (blue-blind)
#4D4457
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573286;
/* rgb */ color: rgb(87, 50, 134);
/* oklch */ color: oklch(40.7% 0.136 300.8);
Tailwind
colors: {
  custom: {
    50: '#8a6caa',
    500: '#573286',
    950: '#000000',
  },
}
SCSS
$custom: #573286;
$custom-light: #8a6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#573286",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 266.429,
    "s": 45.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40708,
    "c": 0.13566,
    "h": 300.8
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#573286
secondary
#8EAF64
accent
#D5529C
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573286

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

Preview Lab → · Contrast checker → · Palette generator →

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