#572297#572297

#572297 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.176 H 298.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#572297
RGBrgb(87, 34, 151)
HSLhsl(267, 63%, 36%)
HSVhsv(267, 77%, 59%)
CMYKcmyk(42.4%, 77.5%, 0%, 40.8%)
CIE-LABlab(27.86, 47.68, -54.21)
CIE-LCHlch(27.86, 72.20, 311.33°)
OKLaboklab(39.97% 0.0842 -0.1551)
OKLCHoklch(39.97% 0.176 298.5)
XYZxyz(10.0870, 5.4045, 29.7839)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572297 #629722
analogous
#222897 #572297 #922297
triadic
#572297 #975722 #229757
tetradic
#572297 #972228 #629722 #229792
square
#572297 #972228 #629722 #229792
split-complementary
#572297 #979222 #289722
monochromatic
#1D0C33 #3A1765 #572297 #742DC9 #945ADA

Accessibility & contrast

On white

10.09
#572297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#572297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572297
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572297#FFFFFF#000000##FFFFFF
##5722971.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#47415B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #572297;
/* rgb */ color: rgb(87, 34, 151);
/* oklch */ color: oklch(40.0% 0.176 298.5);
Tailwind
colors: {
  custom: {
    50: '#8d63b7',
    500: '#572297',
    950: '#000000',
  },
}
SCSS
$custom: #572297;
$custom-light: #8d63b7;
$custom-dark: #000000;
JSON
{
  "hex": "#572297",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 267.179,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.17645,
    "h": 298.5
  },
  "luminance": 0.05405
}

Semantic roles & 50–950 ramp

primary
#572297
secondary
#8FBE57
accent
#E6429C
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0611
muted
#7E7A80

Preview Lab

Preview with #572297

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

Preview Lab → · Contrast checker → · Palette generator →

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