#574792#574792

#574792 is a mid, moderate violet. Relative luminance 0.086; OKLCH L 45.2% C 0.119 H 290.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#574792
RGBrgb(87, 71, 146)
HSLhsl(253, 35%, 43%)
HSVhsv(253, 51%, 57%)
CMYKcmyk(40.4%, 51.4%, 0%, 42.7%)
CIE-LABlab(35.22, 25.60, -39.26)
CIE-LCHlch(35.22, 46.87, 303.11°)
OKLaboklab(45.19% 0.042 -0.1112)
OKLCHoklch(45.19% 0.119 290.7)
XYZxyz(11.3706, 8.6077, 28.2509)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574792 #829247
analogous
#475D92 #574792 #7C4792
triadic
#574792 #925747 #479257
tetradic
#574792 #92475D #829247 #47927C
square
#574792 #92475D #829247 #47927C
split-complementary
#574792 #927C47 #5D9247
monochromatic
#261F40 #3E3369 #574792 #7463B3 #998CC7

Accessibility & contrast

On white

7.72
#574792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#574792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574792
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574792#FFFFFF#000000##FFFFFF
##5747921.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#475665
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #574792;
/* rgb */ color: rgb(87, 71, 146);
/* oklch */ color: oklch(45.2% 0.119 290.7);
Tailwind
colors: {
  custom: {
    50: '#8a7ab2',
    500: '#574792',
    950: '#000000',
  },
}
SCSS
$custom: #574792;
$custom-light: #8a7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#574792",
  "rgb": {
    "r": 87,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 252.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45194,
    "c": 0.11884,
    "h": 290.7
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#574792
secondary
#A8B382
accent
#CB5DB3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #574792

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

Preview Lab → · Contrast checker → · Palette generator →

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