#572697#572697

#572697 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.172 H 297.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#572697
RGBrgb(87, 38, 151)
HSLhsl(266, 60%, 37%)
HSVhsv(266, 75%, 59%)
CMYKcmyk(42.4%, 74.8%, 0%, 40.8%)
CIE-LABlab(28.50, 45.85, -53.16)
CIE-LCHlch(28.50, 70.20, 310.78°)
OKLaboklab(40.42% 0.0805 -0.152)
OKLCHoklch(40.42% 0.172 297.9)
XYZxyz(10.2081, 5.6467, 29.8242)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572697 #669726
analogous
#262D97 #572697 #902697
triadic
#572697 #975726 #269757
tetradic
#572697 #97262D #669726 #269790
square
#572697 #97262D #669726 #269790
split-complementary
#572697 #979026 #2D9726
monochromatic
#1F0D35 #3B1A66 #572697 #7332C8 #9460D7

Accessibility & contrast

On white

9.86
#572697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#572697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572697
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572697#FFFFFF#000000##FFFFFF
##5726971.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#47435C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572697;
/* rgb */ color: rgb(87, 38, 151);
/* oklch */ color: oklch(40.4% 0.172 297.9);
Tailwind
colors: {
  custom: {
    50: '#8d65b6',
    500: '#572697',
    950: '#000000',
  },
}
SCSS
$custom: #572697;
$custom-light: #8d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#572697",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 266.018,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.17202,
    "h": 297.9
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#572697
secondary
#93BC5C
accent
#E3459E
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572697

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

Preview Lab → · Contrast checker → · Palette generator →

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