#572893#572893

#572893 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.3% C 0.165 H 298.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#572893
RGBrgb(87, 40, 147)
HSLhsl(266, 57%, 37%)
HSVhsv(266, 73%, 58%)
CMYKcmyk(40.8%, 72.8%, 0%, 42.4%)
CIE-LABlab(28.51, 43.82, -50.69)
CIE-LCHlch(28.51, 67.00, 310.84°)
OKLaboklab(40.32% 0.0795 -0.1447)
OKLCHoklch(40.32% 0.165 298.8)
XYZxyz(9.9544, 5.6503, 28.1643)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572893 #649328
analogous
#282F93 #572893 #8D2893
triadic
#572893 #935728 #289357
tetradic
#572893 #93282F #649328 #28938D
square
#572893 #93282F #649328 #28938D
split-complementary
#572893 #938D28 #2F9328
monochromatic
#1E0E33 #3B1B63 #572893 #7335C3 #9461D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##572893#FFFFFF#000000##FFFFFF
##5728931.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)
#004396
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#49435B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572893;
/* rgb */ color: rgb(87, 40, 147);
/* oklch */ color: oklch(40.3% 0.165 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c66b4',
    500: '#572893',
    950: '#000000',
  },
}
SCSS
$custom: #572893;
$custom-light: #8c66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572893",
  "rgb": {
    "r": 87,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 266.355,
    "s": 57.219,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40322,
    "c": 0.16512,
    "h": 298.8
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#572893
secondary
#91BA5D
accent
#E0479D
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #572893

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

Preview Lab → · Contrast checker → · Palette generator →

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