#572994#572994

#572994 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.165 H 298.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#572994
RGBrgb(87, 41, 148)
HSLhsl(266, 57%, 37%)
HSVhsv(266, 72%, 58%)
CMYKcmyk(41.2%, 72.3%, 0%, 42%)
CIE-LABlab(28.77, 43.58, -50.88)
CIE-LCHlch(28.77, 66.99, 310.59°)
OKLaboklab(40.53% 0.0782 -0.1453)
OKLCHoklch(40.53% 0.165 298.3)
XYZxyz(10.0673, 5.7501, 28.5907)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572994 #669429
analogous
#293194 #572994 #8D2994
triadic
#572994 #945729 #299457
tetradic
#572994 #942931 #669429 #29948D
square
#572994 #942931 #669429 #29948D
split-complementary
#572994 #948D29 #319429
monochromatic
#1F0E34 #3B1C64 #572994 #7336C4 #9463D4

Accessibility & contrast

On white

9.77
#572994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#572994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572994
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572994#FFFFFF#000000##FFFFFF
##5729941.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#48435B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #572994;
/* rgb */ color: rgb(87, 41, 148);
/* oklch */ color: oklch(40.5% 0.165 298.3);
Tailwind
colors: {
  custom: {
    50: '#8c67b4',
    500: '#572994',
    950: '#000000',
  },
}
SCSS
$custom: #572994;
$custom-light: #8c67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572994",
  "rgb": {
    "r": 87,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 265.794,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40532,
    "c": 0.16503,
    "h": 298.3
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#572994
secondary
#93BA5F
accent
#E0489F
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0D0611
muted
#7D7A80

Preview Lab

Preview with #572994

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

Preview Lab → · Contrast checker → · Palette generator →

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