#6D276F#6D276F

#6D276F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.6% C 0.136 H 326.6°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#6D276F
RGBrgb(109, 39, 111)
HSLhsl(298, 48%, 29%)
HSVhsv(298, 65%, 44%)
CMYKcmyk(1.8%, 64.9%, 0%, 56.5%)
CIE-LABlab(29.03, 41.16, -27.11)
CIE-LCHlch(29.03, 49.28, 326.63°)
OKLaboklab(40.57% 0.1137 -0.075)
OKLCHoklch(40.57% 0.136 326.6)
XYZxyz(9.9013, 5.8506, 15.6436)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D276F #296F27
analogous
#49276F #6D276F #6F274D
triadic
#6D276F #6F6D27 #276F6D
tetradic
#6D276F #6F4927 #296F27 #274D6F
square
#6D276F #6F4927 #296F27 #274D6F
split-complementary
#6D276F #4D6F27 #276F49
monochromatic
#160817 #411742 #6D276F #99379C #BE4FC1

Accessibility & contrast

On white

9.68
#6D276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6D276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D276F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D276F#FFFFFF#000000##FFFFFF
##6D276F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#36486D
Tritanopia (blue-blind)
#703147
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6d276f;
/* rgb */ color: rgb(109, 39, 111);
/* oklch */ color: oklch(40.6% 0.136 326.6);
Tailwind
colors: {
  custom: {
    50: '#996798',
    500: '#6d276f',
    950: '#000000',
  },
}
SCSS
$custom: #6d276f;
$custom-light: #996798;
$custom-dark: #000000;
JSON
{
  "hex": "#6d276f",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 298.333,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.1362,
    "h": 326.6
  },
  "luminance": 0.0585
}

Semantic roles & 50–950 ramp

primary
#6D276F
secondary
#53A250
accent
#D85054
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6D276F

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

Preview Lab → · Contrast checker → · Palette generator →

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