#571E94#571E94

#571E94 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.177 H 299.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#571E94
RGBrgb(87, 30, 148)
HSLhsl(269, 66%, 35%)
HSVhsv(269, 80%, 58%)
CMYKcmyk(41.2%, 79.7%, 0%, 42%)
CIE-LABlab(27.00, 48.63, -53.77)
CIE-LCHlch(27.00, 72.50, 312.13°)
OKLaboklab(39.28% 0.0884 -0.1537)
OKLCHoklch(39.28% 0.177 299.9)
XYZxyz(9.7387, 5.0928, 28.4812)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#571E94 #5B941E
analogous
#1E2094 #571E94 #921E94
triadic
#571E94 #94571E #1E9457
tetradic
#571E94 #941E20 #5B941E #1E9492
square
#571E94 #941E20 #5B941E #1E9492
split-complementary
#571E94 #94921E #20941E
monochromatic
#1B092E #391461 #571E94 #7528C7 #9451DC

Accessibility & contrast

On white

10.40
#571E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#571E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #571E94
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##571E94#FFFFFF#000000##FFFFFF
##571E941.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #571e94;
/* rgb */ color: rgb(87, 30, 148);
/* oklch */ color: oklch(39.3% 0.177 299.9);
Tailwind
colors: {
  custom: {
    50: '#8d61b4',
    500: '#571e94',
    950: '#000000',
  },
}
SCSS
$custom: #571e94;
$custom-light: #8d61b4;
$custom-dark: #000000;
JSON
{
  "hex": "#571e94",
  "rgb": {
    "r": 87,
    "g": 30,
    "b": 148
  },
  "hsl": {
    "h": 268.983,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39282,
    "c": 0.17737,
    "h": 299.9
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#571E94
secondary
#89BF4F
accent
#E93F97
background
#F9F6FB
surface
#F1EBF6
border
#CBC6D0
text
#0D0511
muted
#7E7A80

Preview Lab

Preview with #571E94

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

Preview Lab → · Contrast checker → · Palette generator →

#571E94 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva