#572094#572094

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

Color values

HEX#572094
RGBrgb(87, 32, 148)
HSLhsl(268, 64%, 35%)
HSVhsv(268, 78%, 58%)
CMYKcmyk(41.2%, 78.4%, 0%, 42%)
CIE-LABlab(27.29, 47.79, -53.30)
CIE-LCHlch(27.29, 71.59, 311.88°)
OKLaboklab(39.49% 0.0867 -0.1524)
OKLCHoklch(39.49% 0.175 299.7)
XYZxyz(9.7909, 5.1973, 28.4986)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#572094 #5D9420
analogous
#202394 #572094 #912094
triadic
#572094 #945720 #209457
tetradic
#572094 #942023 #5D9420 #209491
square
#572094 #942023 #5D9420 #209491
split-complementary
#572094 #949120 #239420
monochromatic
#1C0A2F #391562 #572094 #752BC6 #9454DA

Accessibility & contrast

On white

10.30
#572094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #572094
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##572094#FFFFFF#000000##FFFFFF
##5720941.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#483F59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #572094;
/* rgb */ color: rgb(87, 32, 148);
/* oklch */ color: oklch(39.5% 0.175 299.7);
Tailwind
colors: {
  custom: {
    50: '#8d62b4',
    500: '#572094',
    950: '#000000',
  },
}
SCSS
$custom: #572094;
$custom-light: #8d62b4;
$custom-dark: #000000;
JSON
{
  "hex": "#572094",
  "rgb": {
    "r": 87,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 268.448,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39486,
    "c": 0.17533,
    "h": 299.7
  },
  "luminance": 0.05197
}

Semantic roles & 50–950 ramp

primary
#572094
secondary
#8BBE52
accent
#E74098
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #572094

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

Preview Lab → · Contrast checker → · Palette generator →

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