#6D2170#6D2170

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

Color values

HEX#6D2170
RGBrgb(109, 33, 112)
HSLhsl(298, 54%, 28%)
HSVhsv(298, 71%, 44%)
CMYKcmyk(2.7%, 70.5%, 0%, 56.1%)
CIE-LABlab(28.14, 44.00, -29.16)
CIE-LCHlch(28.14, 52.79, 326.47°)
OKLaboklab(39.95% 0.1212 -0.0809)
OKLCHoklch(39.95% 0.146 326.3)
XYZxyz(9.7750, 5.5094, 15.8747)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2170 #247021
analogous
#452170 #6D2170 #70214B
triadic
#6D2170 #706D21 #21706D
tetradic
#6D2170 #704521 #247021 #214B70
square
#6D2170 #704521 #247021 #214B70
split-complementary
#6D2170 #4B7021 #217045
monochromatic
#170718 #3F1341 #6D2170 #9B2F9F #C344C8

Accessibility & contrast

On white

9.99
#6D2170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6D2170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2170
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2170#FFFFFF#000000##FFFFFF
##6D21701.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123C72
Deuteranopia (green-blind)
#32466E
Tritanopia (blue-blind)
#702D46
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6d2170;
/* rgb */ color: rgb(109, 33, 112);
/* oklch */ color: oklch(39.9% 0.146 326.3);
Tailwind
colors: {
  custom: {
    50: '#9a6499',
    500: '#6d2170',
    950: '#000000',
  },
}
SCSS
$custom: #6d2170;
$custom-light: #9a6499;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2170",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 297.722,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39946,
    "c": 0.14569,
    "h": 326.3
  },
  "luminance": 0.05509
}

Semantic roles & 50–950 ramp

primary
#6D2170
secondary
#4DA449
accent
#DE4A50
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D2170

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

Preview Lab → · Contrast checker → · Palette generator →

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