#573298#573298

#573298 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.1% C 0.158 H 295.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#573298
RGBrgb(87, 50, 152)
HSLhsl(262, 50%, 40%)
HSVhsv(262, 67%, 60%)
CMYKcmyk(42.8%, 67.1%, 0%, 40.4%)
CIE-LABlab(30.82, 39.91, -50.00)
CIE-LCHlch(30.82, 63.98, 308.59°)
OKLaboklab(42.1% 0.068 -0.1428)
OKLCHoklch(42.1% 0.158 295.5)
XYZxyz(10.7371, 6.5742, 30.4029)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573298 #739832
analogous
#324098 #573298 #8A3298
triadic
#573298 #985732 #329857
tetradic
#573298 #983240 #739832 #32988A
square
#573298 #983240 #739832 #32988A
split-complementary
#573298 #988A32 #409832
monochromatic
#22143C #3D236A #573298 #7245C2 #9573D1

Accessibility & contrast

On white

9.07
#573298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #573298
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573298#FFFFFF#000000##FFFFFF
##5732981.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#464A60
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #573298;
/* rgb */ color: rgb(87, 50, 152);
/* oklch */ color: oklch(42.1% 0.158 295.5);
Tailwind
colors: {
  custom: {
    50: '#8c6cb7',
    500: '#573298',
    950: '#000000',
  },
}
SCSS
$custom: #573298;
$custom-light: #8c6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#573298",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 261.765,
    "s": 50.495,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.15813,
    "h": 295.5
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

primary
#573298
secondary
#9DB96D
accent
#DA4EA7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0711
muted
#7D7A80

Preview Lab

Preview with #573298

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

Preview Lab → · Contrast checker → · Palette generator →

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