#573193#573193

#573193 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.5% C 0.153 H 297.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#573193
RGBrgb(87, 49, 147)
HSLhsl(263, 50%, 38%)
HSVhsv(263, 67%, 58%)
CMYKcmyk(40.8%, 66.7%, 0%, 42.4%)
CIE-LABlab(30.23, 39.07, -47.90)
CIE-LCHlch(30.23, 61.81, 309.21°)
OKLaboklab(41.55% 0.0697 -0.1366)
OKLCHoklch(41.55% 0.153 297)
XYZxyz(10.2939, 6.3293, 28.2774)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573193 #6D9331
analogous
#313C93 #573193 #883193
triadic
#573193 #935731 #319357
tetradic
#573193 #93313C #6D9331 #319388
square
#573193 #93313C #6D9331 #319388
split-complementary
#573193 #938831 #3C9331
monochromatic
#211237 #3C2265 #573193 #7241C0 #946FCF

Accessibility & contrast

On white

9.27
#573193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#573193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573193
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573193#FFFFFF#000000##FFFFFF
##5731931.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#004691
Tritanopia (blue-blind)
#48485D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #573193;
/* rgb */ color: rgb(87, 49, 147);
/* oklch */ color: oklch(41.5% 0.153 297.0);
Tailwind
colors: {
  custom: {
    50: '#8b6cb3',
    500: '#573193',
    950: '#000000',
  },
}
SCSS
$custom: #573193;
$custom-light: #8b6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#573193",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 147
  },
  "hsl": {
    "h": 263.265,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41549,
    "c": 0.15334,
    "h": 297
  },
  "luminance": 0.06329
}

Semantic roles & 50–950 ramp

primary
#573193
secondary
#99B769
accent
#DA4EA4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573193

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

Preview Lab → · Contrast checker → · Palette generator →

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