#573395#573395

#573395 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.0% C 0.153 H 296.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#573395
RGBrgb(87, 51, 149)
HSLhsl(262, 49%, 39%)
HSVhsv(262, 66%, 58%)
CMYKcmyk(41.6%, 65.8%, 0%, 41.6%)
CIE-LABlab(30.79, 38.51, -48.21)
CIE-LCHlch(30.79, 61.70, 308.62°)
OKLaboklab(42% 0.0672 -0.1375)
OKLCHoklch(42% 0.153 296)
XYZxyz(10.5377, 6.5636, 29.1396)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573395 #719533
analogous
#334095 #573395 #883395
triadic
#573395 #955733 #339557
tetradic
#573395 #953340 #719533 #339588
square
#573395 #953340 #719533 #339588
split-complementary
#573395 #958833 #409533
monochromatic
#22143A #3C2367 #573395 #7246C0 #9573CF

Accessibility & contrast

On white

9.08
#573395 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#573395 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573395
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573395#FFFFFF#000000##FFFFFF
##5733951.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#474A5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573395;
/* rgb */ color: rgb(87, 51, 149);
/* oklch */ color: oklch(42.0% 0.153 296.0);
Tailwind
colors: {
  custom: {
    50: '#8b6db5',
    500: '#573395',
    950: '#000000',
  },
}
SCSS
$custom: #573395;
$custom-light: #8b6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#573395",
  "rgb": {
    "r": 87,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 262.041,
    "s": 49,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.15304,
    "h": 296
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#573395
secondary
#9CB76C
accent
#D94FA6
background
#F8F6FB
surface
#F0ECF6
border
#CBC7D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573395

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

Preview Lab → · Contrast checker → · Palette generator →

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