#572290#572290

#572290 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.4% C 0.169 H 300.6°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#572290
RGBrgb(87, 34, 144)
HSLhsl(269, 62%, 35%)
HSVhsv(269, 76%, 56%)
CMYKcmyk(39.6%, 76.4%, 0%, 43.5%)
CIE-LABlab(27.25, 45.90, -50.89)
CIE-LCHlch(27.25, 68.53, 312.05°)
OKLaboklab(39.35% 0.086 -0.1453)
OKLCHoklch(39.35% 0.169 300.6)
XYZxyz(9.5353, 5.1838, 26.8784)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572290 #5B9022
analogous
#222490 #572290 #8E2290
triadic
#572290 #905722 #229057
tetradic
#572290 #902224 #5B9022 #22908E
square
#572290 #902224 #5B9022 #22908E
split-complementary
#572290 #908E22 #249022
monochromatic
#1B0B2D #39165E #572290 #752EC2 #9455D7

Accessibility & contrast

On white

10.31
#572290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572290
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572290#FFFFFF#000000##FFFFFF
##5722901.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#4A3E57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572290;
/* rgb */ color: rgb(87, 34, 144);
/* oklch */ color: oklch(39.4% 0.169 300.6);
Tailwind
colors: {
  custom: {
    50: '#8c63b1',
    500: '#572290',
    950: '#000000',
  },
}
SCSS
$custom: #572290;
$custom-light: #8c63b1;
$custom-dark: #000000;
JSON
{
  "hex": "#572290",
  "rgb": {
    "r": 87,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 268.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39353,
    "c": 0.16884,
    "h": 300.6
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#572290
secondary
#89BB53
accent
#E54397
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572290

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

Preview Lab → · Contrast checker → · Palette generator →

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