#6E1571#6E1571

#6E1571 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.161 H 326.6°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#6E1571
RGBrgb(110, 21, 113)
HSLhsl(298, 69%, 26%)
HSVhsv(298, 81%, 44%)
CMYKcmyk(2.7%, 81.4%, 0%, 55.7%)
CIE-LABlab(26.86, 48.75, -31.83)
CIE-LCHlch(26.86, 58.21, 326.86°)
OKLaboklab(39.09% 0.1345 -0.0885)
OKLCHoklch(39.09% 0.161 326.6)
XYZxyz(9.6790, 5.0443, 16.0834)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1571 #187115
analogous
#401571 #6E1571 #711546
triadic
#6E1571 #716E15 #15716E
tetradic
#6E1571 #714015 #187115 #154671
square
#6E1571 #714015 #187115 #154671
split-complementary
#6E1571 #467115 #157140
monochromatic
#19051A #3C0B3D #6E1571 #A01FA5 #D229D7

Accessibility & contrast

On white

10.45
#6E1571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6E1571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1571
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1571#FFFFFF#000000##FFFFFF
##6E15711.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2D436F
Tritanopia (blue-blind)
#712643
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e1571;
/* rgb */ color: rgb(110, 21, 113);
/* oklch */ color: oklch(39.1% 0.161 326.6);
Tailwind
colors: {
  custom: {
    50: '#9b5f9a',
    500: '#6e1571',
    950: '#000000',
  },
}
SCSS
$custom: #6e1571;
$custom-light: #9b5f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1571",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 298.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39086,
    "c": 0.16097,
    "h": 326.6
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#6E1571
secondary
#3EA73B
accent
#EB3C42
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1571

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

Preview Lab → · Contrast checker → · Palette generator →

#6E1571 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva