#574397#574397

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

Color values

HEX#574397
RGBrgb(87, 67, 151)
HSLhsl(254, 39%, 43%)
HSVhsv(254, 56%, 59%)
CMYKcmyk(42.4%, 55.6%, 0%, 40.8%)
CIE-LABlab(34.55, 29.58, -43.37)
CIE-LCHlch(34.55, 52.49, 304.29°)
OKLaboklab(44.8% 0.0475 -0.1233)
OKLCHoklch(44.8% 0.132 291.1)
XYZxyz(11.5220, 8.2746, 30.2622)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574397 #839743
analogous
#435997 #574397 #814397
triadic
#574397 #975743 #439757
tetradic
#574397 #974359 #839743 #439781
square
#574397 #974359 #839743 #439781
split-complementary
#574397 #978143 #599743
monochromatic
#261D42 #3F306D #574397 #745FB8 #998ACB

Accessibility & contrast

On white

7.91
#574397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#574397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574397
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574397#FFFFFF#000000##FFFFFF
##5743971.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#455566
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #574397;
/* rgb */ color: rgb(87, 67, 151);
/* oklch */ color: oklch(44.8% 0.132 291.1);
Tailwind
colors: {
  custom: {
    50: '#8b78b6',
    500: '#574397',
    950: '#000000',
  },
}
SCSS
$custom: #574397;
$custom-light: #8b78b6;
$custom-dark: #000000;
JSON
{
  "hex": "#574397",
  "rgb": {
    "r": 87,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 254.286,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.13211,
    "h": 291.1
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#574397
secondary
#A9B680
accent
#CE59B3
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0C0911
muted
#7D7B80

Preview Lab

Preview with #574397

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

Preview Lab → · Contrast checker → · Palette generator →

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