#572295#572295

#572295 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.174 H 299.1°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#572295
RGBrgb(87, 34, 149)
HSLhsl(268, 63%, 36%)
HSVhsv(268, 77%, 58%)
CMYKcmyk(41.6%, 77.2%, 0%, 41.6%)
CIE-LABlab(27.68, 47.17, -53.27)
CIE-LCHlch(27.68, 71.15, 311.53°)
OKLaboklab(39.79% 0.0847 -0.1523)
OKLCHoklch(39.79% 0.174 299.1)
XYZxyz(9.9259, 5.3401, 28.9357)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572295 #609522
analogous
#222695 #572295 #902295
triadic
#572295 #955722 #229557
tetradic
#572295 #952226 #609522 #229590
square
#572295 #952226 #609522 #229590
split-complementary
#572295 #959022 #269522
monochromatic
#1D0B31 #3A1763 #572295 #742DC7 #9458D9

Accessibility & contrast

On white

10.15
#572295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#572295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572295
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572295#FFFFFF#000000##FFFFFF
##5722951.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#48405A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572295;
/* rgb */ color: rgb(87, 34, 149);
/* oklch */ color: oklch(39.8% 0.174 299.1);
Tailwind
colors: {
  custom: {
    50: '#8d63b5',
    500: '#572295',
    950: '#000000',
  },
}
SCSS
$custom: #572295;
$custom-light: #8d63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#572295",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 267.652,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.17428,
    "h": 299.1
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#572295
secondary
#8DBD56
accent
#E6429A
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572295

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

Preview Lab → · Contrast checker → · Palette generator →

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