#572995#572995

#572995 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.166 H 298.0°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#572995
RGBrgb(87, 41, 149)
HSLhsl(266, 57%, 37%)
HSVhsv(266, 72%, 58%)
CMYKcmyk(41.6%, 72.5%, 0%, 41.6%)
CIE-LABlab(28.86, 43.85, -51.36)
CIE-LCHlch(28.86, 67.53, 310.49°)
OKLaboklab(40.62% 0.078 -0.1467)
OKLCHoklch(40.62% 0.166 298)
XYZxyz(10.1468, 5.7819, 29.0094)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572995 #679529
analogous
#293195 #572995 #8D2995
triadic
#572995 #955729 #299557
tetradic
#572995 #952931 #679529 #29958D
square
#572995 #952931 #679529 #29958D
split-complementary
#572995 #958D29 #319529
monochromatic
#1F0F35 #3B1C65 #572995 #7336C5 #9464D4

Accessibility & contrast

On white

9.74
#572995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#572995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572995
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572995#FFFFFF#000000##FFFFFF
##5729951.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#48445C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #572995;
/* rgb */ color: rgb(87, 41, 149);
/* oklch */ color: oklch(40.6% 0.166 298.0);
Tailwind
colors: {
  custom: {
    50: '#8c67b5',
    500: '#572995',
    950: '#000000',
  },
}
SCSS
$custom: #572995;
$custom-light: #8c67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#572995",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 265.556,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.16618,
    "h": 298
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

primary
#572995
secondary
#94BA60
accent
#E0489F
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572995

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

Preview Lab → · Contrast checker → · Palette generator →

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