#573397#573397

#573397 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.2% C 0.156 H 295.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#573397
RGBrgb(87, 51, 151)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 66%, 59%)
CMYKcmyk(42.4%, 66.2%, 0%, 40.8%)
CIE-LABlab(30.94, 39.07, -49.19)
CIE-LCHlch(30.94, 62.81, 308.46°)
OKLaboklab(42.16% 0.067 -0.1404)
OKLCHoklch(42.16% 0.156 295.5)
XYZxyz(10.6987, 6.6280, 29.9878)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573397 #739733
analogous
#334197 #573397 #893397
triadic
#573397 #975733 #339757
tetradic
#573397 #973341 #739733 #339789
square
#573397 #973341 #739733 #339789
split-complementary
#573397 #978933 #419733
monochromatic
#22143C #3D2469 #573397 #7247C1 #9574D0

Accessibility & contrast

On white

9.03
#573397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#573397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573397
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573397#FFFFFF#000000##FFFFFF
##5733971.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#464A60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #573397;
/* rgb */ color: rgb(87, 51, 151);
/* oklch */ color: oklch(42.2% 0.156 295.5);
Tailwind
colors: {
  custom: {
    50: '#8c6db6',
    500: '#573397',
    950: '#000000',
  },
}
SCSS
$custom: #573397;
$custom-light: #8c6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#573397",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 261.6,
    "s": 49.505,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42162,
    "c": 0.15553,
    "h": 295.5
  },
  "luminance": 0.06628
}

Semantic roles & 50–950 ramp

primary
#573397
secondary
#9DB86D
accent
#D94FA7
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573397

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

Preview Lab → · Contrast checker → · Palette generator →

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