#6D2277#6D2277

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

Color values

HEX#6D2277
RGBrgb(109, 34, 119)
HSLhsl(293, 56%, 30%)
HSVhsv(293, 71%, 47%)
CMYKcmyk(8.4%, 71.4%, 0%, 53.3%)
CIE-LABlab(28.72, 44.93, -32.71)
CIE-LCHlch(28.72, 55.57, 323.95°)
OKLaboklab(40.5% 0.12 -0.0912)
OKLCHoklch(40.5% 0.151 322.8)
XYZxyz(10.2081, 5.7278, 18.0171)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2277 #2C7722
analogous
#422277 #6D2277 #772257
triadic
#6D2277 #776D22 #22776D
tetradic
#6D2277 #774222 #2C7722 #225777
square
#6D2277 #774222 #2C7722 #225777
split-complementary
#6D2277 #577722 #227742
monochromatic
#160718 #411447 #6D2277 #9930A7 #BC49CB

Accessibility & contrast

On white

9.79
#6D2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6D2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2277
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2277#FFFFFF#000000##FFFFFF
##6D22771.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083E79
Deuteranopia (green-blind)
#2F4775
Tritanopia (blue-blind)
#6F304A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d2277;
/* rgb */ color: rgb(109, 34, 119);
/* oklch */ color: oklch(40.5% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#9a649f',
    500: '#6d2277',
    950: '#000000',
  },
}
SCSS
$custom: #6d2277;
$custom-light: #9a649f;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2277",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 292.941,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.15074,
    "h": 322.8
  },
  "luminance": 0.05727
}

Semantic roles & 50–950 ramp

primary
#6D2277
secondary
#56AA4B
accent
#DF495B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D2277

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

Preview Lab → · Contrast checker → · Palette generator →

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