#573183#573183

#573183 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.133 H 302.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#573183
RGBrgb(87, 49, 131)
HSLhsl(268, 46%, 35%)
HSVhsv(268, 63%, 51%)
CMYKcmyk(33.6%, 62.6%, 0%, 48.6%)
CIE-LABlab(29.06, 34.72, -39.88)
CIE-LCHlch(29.06, 52.88, 311.04°)
OKLaboklab(40.33% 0.0709 -0.113)
OKLCHoklch(40.33% 0.133 302.1)
XYZxyz(9.1246, 5.8615, 22.1190)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573183 #5D8331
analogous
#313483 #573183 #803183
triadic
#573183 #835731 #318357
tetradic
#573183 #833134 #5D8331 #318380
square
#573183 #833134 #5D8331 #318380
split-complementary
#573183 #838031 #348331
monochromatic
#1C102A #392056 #573183 #7542B0 #9468C6

Accessibility & contrast

On white

9.67
#573183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#573183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573183
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573183#FFFFFF#000000##FFFFFF
##5731831.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014486
Deuteranopia (green-blind)
#194481
Tritanopia (blue-blind)
#4E4255
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #573183;
/* rgb */ color: rgb(87, 49, 131);
/* oklch */ color: oklch(40.3% 0.133 302.1);
Tailwind
colors: {
  custom: {
    50: '#8a6ba8',
    500: '#573183',
    950: '#000000',
  },
}
SCSS
$custom: #573183;
$custom-light: #8a6ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#573183",
  "rgb": {
    "r": 87,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 267.805,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40332,
    "c": 0.13342,
    "h": 302.1
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#573183
secondary
#8BAE62
accent
#D55399
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C070F
muted
#7D7A7F

Preview Lab

Preview with #573183

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

Preview Lab → · Contrast checker → · Palette generator →

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