#573274#573274

#573274 is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.5% C 0.113 H 307.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#573274
RGBrgb(87, 50, 116)
HSLhsl(274, 40%, 33%)
HSVhsv(274, 57%, 45%)
CMYKcmyk(25%, 56.9%, 0%, 54.5%)
CIE-LABlab(28.30, 30.20, -31.66)
CIE-LCHlch(28.30, 43.76, 313.65°)
OKLaboklab(39.46% 0.0693 -0.0889)
OKLCHoklch(39.46% 0.113 307.9)
XYZxyz(8.2228, 5.5685, 17.1613)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#573274 #4F7432
analogous
#363274 #573274 #743270
triadic
#573274 #745732 #327457
tetradic
#573274 #743632 #4F7432 #327074
square
#573274 #743632 #4F7432 #327074
split-complementary
#573274 #707432 #327436
monochromatic
#170D1E #372049 #573274 #77449F #9664BC

Accessibility & contrast

On white

9.94
#573274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#573274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #573274
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##573274#FFFFFF#000000##FFFFFF
##5732741.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4176
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#533E4E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #573274;
/* rgb */ color: rgb(87, 50, 116);
/* oklch */ color: oklch(39.5% 0.113 307.9);
Tailwind
colors: {
  custom: {
    50: '#886b9c',
    500: '#573274',
    950: '#000000',
  },
}
SCSS
$custom: #573274;
$custom-light: #886b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#573274",
  "rgb": {
    "r": 87,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 273.636,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39457,
    "c": 0.11276,
    "h": 307.9
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#573274
secondary
#7DA45E
accent
#D0588D
background
#F8F6F9
surface
#F0EBF2
border
#CBC6CC
text
#0C070E
muted
#7D7A7E

Preview Lab

Preview with #573274

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

Preview Lab → · Contrast checker → · Palette generator →

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