#572695#572695

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

Color values

HEX#572695
RGBrgb(87, 38, 149)
HSLhsl(266, 59%, 37%)
HSVhsv(266, 74%, 58%)
CMYKcmyk(41.6%, 74.5%, 0%, 41.6%)
CIE-LABlab(28.33, 45.32, -52.21)
CIE-LCHlch(28.33, 69.14, 310.96°)
OKLaboklab(40.25% 0.081 -0.1492)
OKLCHoklch(40.25% 0.17 298.5)
XYZxyz(10.0470, 5.5822, 28.9761)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572695 #649526
analogous
#262D95 #572695 #8F2695
triadic
#572695 #955726 #269557
tetradic
#572695 #95262D #649526 #26958F
square
#572695 #95262D #649526 #26958F
split-complementary
#572695 #958F26 #2D9526
monochromatic
#1E0D33 #3B1A64 #572695 #7332C6 #945FD6

Accessibility & contrast

On white

9.92
#572695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572695
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572695#FFFFFF#000000##FFFFFF
##5726951.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #572695;
/* rgb */ color: rgb(87, 38, 149);
/* oklch */ color: oklch(40.2% 0.170 298.5);
Tailwind
colors: {
  custom: {
    50: '#8c65b5',
    500: '#572695',
    950: '#000000',
  },
}
SCSS
$custom: #572695;
$custom-light: #8c65b5;
$custom-dark: #000000;
JSON
{
  "hex": "#572695",
  "rgb": {
    "r": 87,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 266.486,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40247,
    "c": 0.16978,
    "h": 298.5
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#572695
secondary
#91BB5B
accent
#E3459D
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572695

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

Preview Lab → · Contrast checker → · Palette generator →

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