#573097#573097

#573097 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.7% C 0.160 H 296.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#573097
RGBrgb(87, 48, 151)
HSLhsl(263, 52%, 39%)
HSVhsv(263, 68%, 59%)
CMYKcmyk(42.4%, 68.2%, 0%, 40.8%)
CIE-LABlab(30.34, 40.73, -50.17)
CIE-LCHlch(30.34, 64.62, 309.07°)
OKLaboklab(41.73% 0.0703 -0.1433)
OKLCHoklch(41.73% 0.16 296.1)
XYZxyz(10.5719, 6.3743, 29.9455)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573097 #709730
analogous
#303D97 #573097 #8B3097
triadic
#573097 #975730 #309757
tetradic
#573097 #97303D #709730 #30978B
square
#573097 #97303D #709730 #30978B
split-complementary
#573097 #978B30 #3D9730
monochromatic
#21123A #3C2169 #573097 #7241C3 #9570D2

Accessibility & contrast

On white

9.23
#573097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#573097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573097
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573097#FFFFFF#000000##FFFFFF
##5730971.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#46495F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #573097;
/* rgb */ color: rgb(87, 48, 151);
/* oklch */ color: oklch(41.7% 0.160 296.1);
Tailwind
colors: {
  custom: {
    50: '#8c6bb6',
    500: '#573097',
    950: '#000000',
  },
}
SCSS
$custom: #573097;
$custom-light: #8c6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#573097",
  "rgb": {
    "r": 87,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 262.718,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.41726,
    "c": 0.15959,
    "h": 296.1
  },
  "luminance": 0.06375
}

Semantic roles & 50–950 ramp

primary
#573097
secondary
#9BB96A
accent
#DB4DA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #573097

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

Preview Lab → · Contrast checker → · Palette generator →

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