#572286#572286

#572286 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.5% C 0.158 H 304.0°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#572286
RGBrgb(87, 34, 134)
HSLhsl(272, 60%, 33%)
HSVhsv(272, 75%, 53%)
CMYKcmyk(35.1%, 74.6%, 0%, 47.5%)
CIE-LABlab(26.42, 43.38, -46.02)
CIE-LCHlch(26.42, 63.24, 313.31°)
OKLaboklab(38.51% 0.0882 -0.131)
OKLCHoklch(38.51% 0.158 304)
XYZxyz(8.8046, 4.8915, 23.0299)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572286 #518622
analogous
#252286 #572286 #862283
triadic
#572286 #865722 #228657
tetradic
#572286 #862522 #518622 #228386
square
#572286 #862522 #518622 #228386
split-complementary
#572286 #838622 #228625
monochromatic
#180924 #371655 #572286 #772EB7 #9550D3

Accessibility & contrast

On white

10.61
#572286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#572286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572286
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572286#FFFFFF#000000##FFFFFF
##5722861.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D89
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#4E3A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #572286;
/* rgb */ color: rgb(87, 34, 134);
/* oklch */ color: oklch(38.5% 0.158 304.0);
Tailwind
colors: {
  custom: {
    50: '#8b62aa',
    500: '#572286',
    950: '#000000',
  },
}
SCSS
$custom: #572286;
$custom-light: #8b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#572286",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 271.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38509,
    "c": 0.15791,
    "h": 304
  },
  "luminance": 0.04892
}

Semantic roles & 50–950 ramp

primary
#572286
secondary
#7FB64E
accent
#E3458F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0C0510
muted
#7D7A7F

Preview Lab

Preview with #572286

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

Preview Lab → · Contrast checker → · Palette generator →

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