#6D2179#6D2179

#6D2179 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.154 H 321.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6D2179
RGBrgb(109, 33, 121)
HSLhsl(292, 57%, 30%)
HSVhsv(292, 73%, 47%)
CMYKcmyk(9.9%, 72.7%, 0%, 52.5%)
CIE-LABlab(28.69, 45.74, -34.01)
CIE-LCHlch(28.69, 57.00, 323.37°)
OKLaboklab(40.52% 0.1211 -0.095)
OKLCHoklch(40.52% 0.154 321.9)
XYZxyz(10.3014, 5.7200, 18.6469)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2179 #2D7921
analogous
#412179 #6D2179 #792159
triadic
#6D2179 #796D21 #21796D
tetradic
#6D2179 #794121 #2D7921 #215979
square
#6D2179 #794121 #2D7921 #215979
split-complementary
#6D2179 #597921 #217941
monochromatic
#160719 #421449 #6D2179 #982EA9 #BB47CD

Accessibility & contrast

On white

9.80
#6D2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6D2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2179
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2179#FFFFFF#000000##FFFFFF
##6D21791.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#2C4777
Tritanopia (blue-blind)
#6E314A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d2179;
/* rgb */ color: rgb(109, 33, 121);
/* oklch */ color: oklch(40.5% 0.154 321.9);
Tailwind
colors: {
  custom: {
    50: '#9a64a0',
    500: '#6d2179',
    950: '#000000',
  },
}
SCSS
$custom: #6d2179;
$custom-light: #9a64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2179",
  "rgb": {
    "r": 109,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 291.818,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.1539,
    "h": 321.9
  },
  "luminance": 0.05719
}

Semantic roles & 50–950 ramp

primary
#6D2179
secondary
#57AC4A
accent
#E0475C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6D2179

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

Preview Lab → · Contrast checker → · Palette generator →

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