#573195#573195

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

Color values

HEX#573195
RGBrgb(87, 49, 149)
HSLhsl(263, 51%, 39%)
HSVhsv(263, 67%, 58%)
CMYKcmyk(41.6%, 67.1%, 0%, 41.6%)
CIE-LABlab(30.38, 39.63, -48.87)
CIE-LCHlch(30.38, 62.92, 309.03°)
OKLaboklab(41.71% 0.0695 -0.1395)
OKLCHoklch(41.71% 0.156 296.5)
XYZxyz(10.4522, 6.3926, 29.1111)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573195 #6F9531
analogous
#313D95 #573195 #893195
triadic
#573195 #955731 #319557
tetradic
#573195 #95313D #6F9531 #319589
square
#573195 #95313D #6F9531 #319589
split-complementary
#573195 #958931 #3D9531
monochromatic
#211339 #3C2267 #573195 #7242C1 #9570D0

Accessibility & contrast

On white

9.22
#573195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573195
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573195#FFFFFF#000000##FFFFFF
##5731951.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#47485E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #573195;
/* rgb */ color: rgb(87, 49, 149);
/* oklch */ color: oklch(41.7% 0.156 296.5);
Tailwind
colors: {
  custom: {
    50: '#8c6cb5',
    500: '#573195',
    950: '#000000',
  },
}
SCSS
$custom: #573195;
$custom-light: #8c6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#573195",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 262.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41708,
    "c": 0.1558,
    "h": 296.5
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#573195
secondary
#9AB86A
accent
#DA4EA5
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #573195

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

Preview Lab → · Contrast checker → · Palette generator →

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