#6D277F#6D277F

#6D277F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.152 H 318.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6D277F
RGBrgb(109, 39, 127)
HSLhsl(288, 53%, 33%)
HSVhsv(288, 69%, 50%)
CMYKcmyk(14.2%, 69.3%, 0%, 50.2%)
CIE-LABlab(30.00, 44.38, -35.70)
CIE-LCHlch(30.00, 56.96, 321.18°)
OKLaboklab(41.58% 0.114 -0.1)
OKLCHoklch(41.58% 0.152 318.7)
XYZxyz(10.8624, 6.2350, 20.7059)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D277F #397F27
analogous
#41277F #6D277F #7F2765
triadic
#6D277F #7F6D27 #277F6D
tetradic
#6D277F #7F4127 #397F27 #27657F
square
#6D277F #7F4127 #397F27 #27657F
split-complementary
#6D277F #657F27 #277F41
monochromatic
#1D0A21 #451950 #6D277F #9535AE #B355CB

Accessibility & contrast

On white

9.35
#6D277F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6D277F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D277F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D277F#FFFFFF#000000##FFFFFF
##6D277F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044282
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#6D3750
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d277f;
/* rgb */ color: rgb(109, 39, 127);
/* oklch */ color: oklch(41.6% 0.152 318.7);
Tailwind
colors: {
  custom: {
    50: '#9a67a4',
    500: '#6d277f',
    950: '#000000',
  },
}
SCSS
$custom: #6d277f;
$custom-light: #9a67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d277f",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 287.727,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.1516,
    "h": 318.7
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#6D277F
secondary
#65B052
accent
#DC4B69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D277F

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

Preview Lab → · Contrast checker → · Palette generator →

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