#574A8A#574A8A

#574A8A is a mid, moderate violet. Relative luminance 0.088; OKLCH L 45.3% C 0.102 H 291.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#574A8A
RGBrgb(87, 74, 138)
HSLhsl(252, 30%, 42%)
HSVhsv(252, 46%, 54%)
CMYKcmyk(37%, 46.4%, 0%, 45.9%)
CIE-LABlab(35.52, 21.36, -33.90)
CIE-LCHlch(35.52, 40.07, 302.22°)
OKLaboklab(45.26% 0.0368 -0.0955)
OKLCHoklch(45.26% 0.102 291.1)
XYZxyz(10.9655, 8.7585, 25.1526)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574A8A #7D8A4A
analogous
#4A5D8A #574A8A #774A8A
triadic
#574A8A #8A574A #4A8A57
tetradic
#574A8A #8A4A5D #7D8A4A #4A8A77
square
#574A8A #8A4A5D #7D8A4A #4A8A77
split-complementary
#574A8A #8A774A #5D8A4A
monochromatic
#251F3A #3E3562 #574A8A #7365AC #978DC2

Accessibility & contrast

On white

7.63
#574A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#574A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574A8A
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574A8A#FFFFFF#000000##FFFFFF
##574A8A1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34558C
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#4A5663
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #574a8a;
/* rgb */ color: rgb(87, 74, 138);
/* oklch */ color: oklch(45.3% 0.102 291.1);
Tailwind
colors: {
  custom: {
    50: '#897cac',
    500: '#574a8a',
    950: '#000000',
  },
}
SCSS
$custom: #574a8a;
$custom-light: #897cac;
$custom-dark: #000000;
JSON
{
  "hex": "#574a8a",
  "rgb": {
    "r": 87,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 252.188,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45264,
    "c": 0.10235,
    "h": 291.1
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#574A8A
secondary
#A5AE82
accent
#C661B2
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0C0910
muted
#7D7B7F

Preview Lab

Preview with #574A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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