#574591#574591

#574591 is a dark, vivid violet. Relative luminance 0.083; OKLCH L 44.8% C 0.121 H 291.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#574591
RGBrgb(87, 69, 145)
HSLhsl(254, 36%, 42%)
HSVhsv(254, 52%, 57%)
CMYKcmyk(40%, 52.4%, 0%, 43.1%)
CIE-LABlab(34.65, 26.56, -39.55)
CIE-LCHlch(34.65, 47.64, 303.89°)
OKLaboklab(44.75% 0.0446 -0.112)
OKLCHoklch(44.75% 0.121 291.7)
XYZxyz(11.1681, 8.3265, 27.8013)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574591 #7F9145
analogous
#455991 #574591 #7D4591
triadic
#574591 #915745 #459157
tetradic
#574591 #914559 #7F9145 #45917D
square
#574591 #914559 #7F9145 #45917D
split-complementary
#574591 #917D45 #599145
monochromatic
#251E3E #3E3168 #574591 #7460B3 #9889C7

Accessibility & contrast

On white

7.88
#574591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#574591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574591
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574591#FFFFFF#000000##FFFFFF
##5745911.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265394
Deuteranopia (green-blind)
#28508F
Tritanopia (blue-blind)
#485464
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #574591;
/* rgb */ color: rgb(87, 69, 145);
/* oklch */ color: oklch(44.8% 0.121 291.7);
Tailwind
colors: {
  custom: {
    50: '#8a79b2',
    500: '#574591',
    950: '#000000',
  },
}
SCSS
$custom: #574591;
$custom-light: #8a79b2;
$custom-dark: #000000;
JSON
{
  "hex": "#574591",
  "rgb": {
    "r": 87,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 254.211,
    "s": 35.514,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.12059,
    "h": 291.7
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#574591
secondary
#A6B280
accent
#CC5CB1
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #574591

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

Preview Lab → · Contrast checker → · Palette generator →

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