#572891#572891

#572891 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.163 H 299.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#572891
RGBrgb(87, 40, 145)
HSLhsl(267, 57%, 36%)
HSVhsv(267, 72%, 57%)
CMYKcmyk(40%, 72.4%, 0%, 43.1%)
CIE-LABlab(28.35, 43.29, -49.72)
CIE-LCHlch(28.35, 65.93, 311.05°)
OKLaboklab(40.15% 0.0798 -0.1419)
OKLCHoklch(40.15% 0.163 299.4)
XYZxyz(9.7988, 5.5880, 27.3449)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572891 #629128
analogous
#282E91 #572891 #8C2891
triadic
#572891 #915728 #289157
tetradic
#572891 #91282E #629128 #28918C
square
#572891 #91282E #629128 #28918C
split-complementary
#572891 #918C28 #2E9128
monochromatic
#1D0E31 #3A1B61 #572891 #7435C1 #9460D3

Accessibility & contrast

On white

9.92
#572891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#572891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572891
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572891#FFFFFF#000000##FFFFFF
##5728911.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00428F
Tritanopia (blue-blind)
#49425A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572891;
/* rgb */ color: rgb(87, 40, 145);
/* oklch */ color: oklch(40.2% 0.163 299.4);
Tailwind
colors: {
  custom: {
    50: '#8c66b2',
    500: '#572891',
    950: '#000000',
  },
}
SCSS
$custom: #572891;
$custom-light: #8c66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#572891",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 266.857,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40154,
    "c": 0.16283,
    "h": 299.4
  },
  "luminance": 0.05588
}

Semantic roles & 50–950 ramp

primary
#572891
secondary
#8FB95C
accent
#E0489C
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #572891

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

Preview Lab → · Contrast checker → · Palette generator →

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