#6E2170#6E2170

#6E2170 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.1% C 0.146 H 326.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6E2170
RGBrgb(110, 33, 112)
HSLhsl(298, 54%, 28%)
HSVhsv(298, 71%, 44%)
CMYKcmyk(1.8%, 70.5%, 0%, 56.1%)
CIE-LABlab(28.31, 44.26, -28.88)
CIE-LCHlch(28.31, 52.85, 326.87°)
OKLaboklab(40.1% 0.1224 -0.08)
OKLCHoklch(40.1% 0.146 326.8)
XYZxyz(9.8987, 5.5732, 15.8805)
Luminance0.0557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2170 #237021
analogous
#462170 #6E2170 #70214A
triadic
#6E2170 #706E21 #21706E
tetradic
#6E2170 #704621 #237021 #214A70
square
#6E2170 #704621 #237021 #214A70
split-complementary
#6E2170 #4A7021 #217046
monochromatic
#170718 #401341 #6E2170 #9C2F9F #C444C8

Accessibility & contrast

On white

9.93
#6E2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2170
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2170#FFFFFF#000000##FFFFFF
##6E21701.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C72
Deuteranopia (green-blind)
#33466E
Tritanopia (blue-blind)
#712D46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e2170;
/* rgb */ color: rgb(110, 33, 112);
/* oklch */ color: oklch(40.1% 0.146 326.8);
Tailwind
colors: {
  custom: {
    50: '#9a6499',
    500: '#6e2170',
    950: '#000000',
  },
}
SCSS
$custom: #6e2170;
$custom-light: #9a6499;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2170",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 298.481,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.14624,
    "h": 326.8
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#6E2170
secondary
#4CA449
accent
#DE4A4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6E2170

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

Preview Lab → · Contrast checker → · Palette generator →

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