#573F98#573F98

#573F98 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.2% C 0.140 H 292.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#573F98
RGBrgb(87, 63, 152)
HSLhsl(256, 41%, 42%)
HSVhsv(256, 59%, 60%)
CMYKcmyk(42.8%, 58.6%, 0%, 40.4%)
CIE-LABlab(33.66, 32.32, -45.40)
CIE-LCHlch(33.66, 55.73, 305.45°)
OKLaboklab(44.17% 0.0526 -0.1292)
OKLCHoklch(44.17% 0.14 292.1)
XYZxyz(11.3739, 7.8479, 30.6152)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573F98 #80983F
analogous
#3F5498 #573F98 #843F98
triadic
#573F98 #98573F #3F9857
tetradic
#573F98 #983F54 #80983F #3F9884
square
#573F98 #983F54 #80983F #3F9884
split-complementary
#573F98 #98843F #54983F
monochromatic
#251B41 #3E2D6D #573F98 #745ABA #9885CC

Accessibility & contrast

On white

8.17
#573F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#573F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573F98
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573F98#FFFFFF#000000##FFFFFF
##573F981.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509B
Deuteranopia (green-blind)
#124D96
Tritanopia (blue-blind)
#455265
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #573f98;
/* rgb */ color: rgb(87, 63, 152);
/* oklch */ color: oklch(44.2% 0.140 292.1);
Tailwind
colors: {
  custom: {
    50: '#8b75b7',
    500: '#573f98',
    950: '#000000',
  },
}
SCSS
$custom: #573f98;
$custom-light: #8b75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#573f98",
  "rgb": {
    "r": 87,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 256.18,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.13953,
    "h": 292.1
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#573F98
secondary
#A7B77C
accent
#D157B0
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0811
muted
#7D7B80

Preview Lab

Preview with #573F98

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

Preview Lab → · Contrast checker → · Palette generator →

#573F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva