#574271#574271

#574271 is a dark, moderate violet. Relative luminance 0.071; OKLCH L 42.2% C 0.080 H 303.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#574271
RGBrgb(87, 66, 113)
HSLhsl(267, 26%, 35%)
HSVhsv(267, 42%, 44%)
CMYKcmyk(23%, 41.6%, 0%, 55.7%)
CIE-LABlab(32.07, 19.51, -23.81)
CIE-LCHlch(32.07, 30.78, 309.33°)
OKLaboklab(42.22% 0.0442 -0.0662)
OKLCHoklch(42.22% 0.08 303.8)
XYZxyz(8.8587, 7.1149, 16.5262)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574271 #5C7142
analogous
#424471 #574271 #6F4271
triadic
#574271 #715742 #427157
tetradic
#574271 #714244 #5C7142 #42716F
square
#574271 #714244 #5C7142 #42716F
split-complementary
#574271 #716F42 #447142
monochromatic
#1C1524 #392B4A #574271 #755998 #947BB2

Accessibility & contrast

On white

8.67
#574271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#574271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574271
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574271#FFFFFF#000000##FFFFFF
##5742711.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#3B4B70
Tritanopia (blue-blind)
#534A54
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #574271;
/* rgb */ color: rgb(87, 66, 113);
/* oklch */ color: oklch(42.2% 0.080 303.8);
Tailwind
colors: {
  custom: {
    50: '#87769a',
    500: '#574271',
    950: '#000000',
  },
}
SCSS
$custom: #574271;
$custom-light: #87769a;
$custom-dark: #000000;
JSON
{
  "hex": "#574271",
  "rgb": {
    "r": 87,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 266.809,
    "s": 26.257,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42219,
    "c": 0.0796,
    "h": 303.8
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#574271
secondary
#8A9D71
accent
#C36599
background
#F8F7F9
surface
#EFEDF2
border
#CAC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #574271

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

Preview Lab → · Contrast checker → · Palette generator →

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