#574A71#574A71

#574A71 is a dark, moderate violet. Relative luminance 0.081; OKLCH L 43.9% C 0.065 H 299.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#574A71
RGBrgb(87, 74, 113)
HSLhsl(260, 21%, 37%)
HSVhsv(260, 35%, 44%)
CMYKcmyk(23%, 34.5%, 0%, 55.7%)
CIE-LABlab(34.22, 14.41, -20.45)
CIE-LCHlch(34.22, 25.02, 305.17°)
OKLaboklab(43.86% 0.0314 -0.0565)
OKLCHoklch(43.86% 0.065 299)
XYZxyz(9.3592, 8.1160, 16.6931)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574A71 #64714A
analogous
#4A5171 #574A71 #6B4A71
triadic
#574A71 #71574A #4A7157
tetradic
#574A71 #714A51 #64714A #4A716B
square
#574A71 #714A51 #64714A #4A716B
split-complementary
#574A71 #716B4A #51714A
monochromatic
#1E1A27 #3B324C #574A71 #736296 #9486B0

Accessibility & contrast

On white

8.01
#574A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#574A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574A71
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574A71#FFFFFF#000000##FFFFFF
##574A711.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415073
Deuteranopia (green-blind)
#435070
Tritanopia (blue-blind)
#525058
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #574a71;
/* rgb */ color: rgb(87, 74, 113);
/* oklch */ color: oklch(43.9% 0.065 299.0);
Tailwind
colors: {
  custom: {
    50: '#877c9a',
    500: '#574a71',
    950: '#000000',
  },
}
SCSS
$custom: #574a71;
$custom-light: #877c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#574a71",
  "rgb": {
    "r": 87,
    "g": 74,
    "b": 113
  },
  "hsl": {
    "h": 260,
    "s": 20.856,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4386,
    "c": 0.06468,
    "h": 299
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#574A71
secondary
#919C7B
accent
#BD6AA2
background
#F8F7F9
surface
#EFEEF2
border
#CAC9CC
text
#0B090E
muted
#7C7B7E

Preview Lab

Preview with #574A71

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

Preview Lab → · Contrast checker → · Palette generator →

#574A71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva