#574279#574279

#574279 is a dark, moderate violet. Relative luminance 0.073; OKLCH L 42.7% C 0.091 H 300.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#574279
RGBrgb(87, 66, 121)
HSLhsl(263, 29%, 37%)
HSVhsv(263, 45%, 47%)
CMYKcmyk(28.1%, 45.5%, 0%, 52.5%)
CIE-LABlab(32.49, 21.64, -28.17)
CIE-LCHlch(32.49, 35.53, 307.54°)
OKLaboklab(42.67% 0.0458 -0.0788)
OKLCHoklch(42.67% 0.091 300.2)
XYZxyz(9.3291, 7.3031, 19.0036)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#574279 #647942
analogous
#424979 #574279 #734279
triadic
#574279 #795742 #427957
tetradic
#574279 #794249 #647942 #427973
square
#574279 #794249 #647942 #427973
split-complementary
#574279 #797342 #497942
monochromatic
#1E172A #3B2C51 #574279 #7358A1 #947DB8

Accessibility & contrast

On white

8.53
#574279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#574279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #574279
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##574279#FFFFFF#000000##FFFFFF
##5742791.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#374C78
Tritanopia (blue-blind)
#514C57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #574279;
/* rgb */ color: rgb(87, 66, 121);
/* oklch */ color: oklch(42.7% 0.091 300.2);
Tailwind
colors: {
  custom: {
    50: '#8876a0',
    500: '#574279',
    950: '#000000',
  },
}
SCSS
$custom: #574279;
$custom-light: #8876a0;
$custom-dark: #000000;
JSON
{
  "hex": "#574279",
  "rgb": {
    "r": 87,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 262.909,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.09117,
    "h": 300.2
  },
  "luminance": 0.07303
}

Semantic roles & 50–950 ramp

primary
#574279
secondary
#91A374
accent
#C662A0
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0B080E
muted
#7C7B7E

Preview Lab

Preview with #574279

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

Preview Lab → · Contrast checker → · Palette generator →

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