#573185#573185

#573185 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.136 H 301.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#573185
RGBrgb(87, 49, 133)
HSLhsl(267, 46%, 36%)
HSVhsv(267, 63%, 52%)
CMYKcmyk(34.6%, 63.2%, 0%, 47.8%)
CIE-LABlab(29.20, 35.25, -40.90)
CIE-LCHlch(29.20, 54.00, 310.76°)
OKLaboklab(40.48% 0.0708 -0.116)
OKLCHoklch(40.48% 0.136 301.4)
XYZxyz(9.2614, 5.9163, 22.8398)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573185 #5F8531
analogous
#313585 #573185 #813185
triadic
#573185 #855731 #318557
tetradic
#573185 #853135 #5F8531 #318581
square
#573185 #853135 #5F8531 #318581
split-complementary
#573185 #858131 #358531
monochromatic
#1C102C #3A2158 #573185 #7441B2 #9469C8

Accessibility & contrast

On white

9.62
#573185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#573185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573185
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573185#FFFFFF#000000##FFFFFF
##5731851.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#164483
Tritanopia (blue-blind)
#4E4356
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #573185;
/* rgb */ color: rgb(87, 49, 133);
/* oklch */ color: oklch(40.5% 0.136 301.4);
Tailwind
colors: {
  custom: {
    50: '#8a6ba9',
    500: '#573185',
    950: '#000000',
  },
}
SCSS
$custom: #573185;
$custom-light: #8a6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#573185",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 267.143,
    "s": 46.154,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40479,
    "c": 0.13593,
    "h": 301.4
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#573185
secondary
#8DAF63
accent
#D6529A
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0710
muted
#7D7A7F

Preview Lab

Preview with #573185

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

Preview Lab → · Contrast checker → · Palette generator →

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