#572694#572694

#572694 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.169 H 298.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#572694
RGBrgb(87, 38, 148)
HSLhsl(267, 59%, 36%)
HSVhsv(267, 74%, 58%)
CMYKcmyk(41.2%, 74.3%, 0%, 42%)
CIE-LABlab(28.25, 45.06, -51.73)
CIE-LCHlch(28.25, 68.60, 311.06°)
OKLaboklab(40.16% 0.0812 -0.1478)
OKLCHoklch(40.16% 0.169 298.8)
XYZxyz(9.9675, 5.5504, 28.5574)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572694 #639426
analogous
#262C94 #572694 #8E2694
triadic
#572694 #945726 #269457
tetradic
#572694 #94262C #639426 #26948E
square
#572694 #94262C #639426 #26948E
split-complementary
#572694 #948E26 #2C9426
monochromatic
#1E0D33 #3A1963 #572694 #7433C5 #945FD6

Accessibility & contrast

On white

9.95
#572694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#572694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572694
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572694#FFFFFF#000000##FFFFFF
##5726941.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.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: #572694;
/* rgb */ color: rgb(87, 38, 148);
/* oklch */ color: oklch(40.2% 0.169 298.8);
Tailwind
colors: {
  custom: {
    50: '#8c65b4',
    500: '#572694',
    950: '#000000',
  },
}
SCSS
$custom: #572694;
$custom-light: #8c65b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572694",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 266.727,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.16866,
    "h": 298.8
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#572694
secondary
#90BB5B
accent
#E2459C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572694

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

Preview Lab → · Contrast checker → · Palette generator →

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