#572794#572794

#572794 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.167 H 298.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#572794
RGBrgb(87, 39, 148)
HSLhsl(266, 58%, 37%)
HSVhsv(266, 74%, 58%)
CMYKcmyk(41.2%, 73.6%, 0%, 42%)
CIE-LABlab(28.42, 44.57, -51.45)
CIE-LCHlch(28.42, 68.07, 310.90°)
OKLaboklab(40.28% 0.0802 -0.147)
OKLCHoklch(40.28% 0.167 298.6)
XYZxyz(9.9999, 5.6153, 28.5682)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572794 #649427
analogous
#272E94 #572794 #8E2794
triadic
#572794 #945727 #279457
tetradic
#572794 #94272E #649427 #27948E
square
#572794 #94272E #649427 #27948E
split-complementary
#572794 #948E27 #2E9427
monochromatic
#1E0D33 #3B1A64 #572794 #7334C4 #9460D5

Accessibility & contrast

On white

9.89
#572794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572794
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572794#FFFFFF#000000##FFFFFF
##5727941.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#48425B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #572794;
/* rgb */ color: rgb(87, 39, 148);
/* oklch */ color: oklch(40.3% 0.167 298.6);
Tailwind
colors: {
  custom: {
    50: '#8c66b4',
    500: '#572794',
    950: '#000000',
  },
}
SCSS
$custom: #572794;
$custom-light: #8c66b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572794",
  "rgb": {
    "r": 87,
    "g": 39,
    "b": 148
  },
  "hsl": {
    "h": 266.422,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.16746,
    "h": 298.6
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#572794
secondary
#91BB5C
accent
#E2469D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572794

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

Preview Lab → · Contrast checker → · Palette generator →

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