#572193#572193

#572193 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.173 H 299.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#572193
RGBrgb(87, 33, 147)
HSLhsl(268, 63%, 35%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(40.8%, 77.6%, 0%, 42.4%)
CIE-LABlab(27.35, 47.11, -52.58)
CIE-LCHlch(27.35, 70.59, 311.86°)
OKLaboklab(39.5% 0.0861 -0.1502)
OKLCHoklch(39.5% 0.173 299.8)
XYZxyz(9.7395, 5.2204, 28.0926)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572193 #5D9321
analogous
#212493 #572193 #902193
triadic
#572193 #935721 #219357
tetradic
#572193 #932124 #5D9321 #219390
square
#572193 #932124 #5D9321 #219390
split-complementary
#572193 #939021 #249321
monochromatic
#1C0B2F #391661 #572193 #752CC5 #9455D9

Accessibility & contrast

On white

10.27
#572193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#572193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #572193
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572193#FFFFFF#000000##FFFFFF
##5721931.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#493F59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #572193;
/* rgb */ color: rgb(87, 33, 147);
/* oklch */ color: oklch(39.5% 0.173 299.8);
Tailwind
colors: {
  custom: {
    50: '#8c62b4',
    500: '#572193',
    950: '#000000',
  },
}
SCSS
$custom: #572193;
$custom-light: #8c62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572193",
  "rgb": {
    "r": 87,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 268.421,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.17319,
    "h": 299.8
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#572193
secondary
#8BBD53
accent
#E64198
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572193

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

Preview Lab → · Contrast checker → · Palette generator →

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