#6E2071#6E2071

#6E2071 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.1% C 0.148 H 326.3°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#6E2071
RGBrgb(110, 32, 113)
HSLhsl(298, 56%, 28%)
HSVhsv(298, 72%, 44%)
CMYKcmyk(2.7%, 71.7%, 0%, 55.7%)
CIE-LABlab(28.22, 44.85, -29.66)
CIE-LCHlch(28.22, 53.77, 326.53°)
OKLaboklab(40.06% 0.1236 -0.0823)
OKLCHoklch(40.06% 0.148 326.3)
XYZxyz(9.9274, 5.5409, 16.1662)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2071 #237120
analogous
#452071 #6E2071 #71204B
triadic
#6E2071 #716E20 #20716E
tetradic
#6E2071 #714520 #237120 #204B71
square
#6E2071 #714520 #237120 #204B71
split-complementary
#6E2071 #4B7120 #207145
monochromatic
#170718 #401241 #6E2071 #9C2EA1 #C442C9

Accessibility & contrast

On white

9.96
#6E2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2071
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2071#FFFFFF#000000##FFFFFF
##6E20711.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103C73
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#712C46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e2071;
/* rgb */ color: rgb(110, 32, 113);
/* oklch */ color: oklch(40.1% 0.148 326.3);
Tailwind
colors: {
  custom: {
    50: '#9a639a',
    500: '#6e2071',
    950: '#000000',
  },
}
SCSS
$custom: #6e2071;
$custom-light: #9a639a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2071",
  "rgb": {
    "r": 110,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 297.778,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.14845,
    "h": 326.3
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#6E2071
secondary
#4CA548
accent
#DF494E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2071

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

Preview Lab → · Contrast checker → · Palette generator →

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