#6D277D#6D277D

#6D277D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 319.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#6D277D
RGBrgb(109, 39, 125)
HSLhsl(289, 52%, 32%)
HSVhsv(289, 69%, 49%)
CMYKcmyk(12.8%, 68.8%, 0%, 51%)
CIE-LABlab(29.87, 43.96, -34.65)
CIE-LCHlch(29.87, 55.98, 321.75°)
OKLaboklab(41.45% 0.114 -0.0969)
OKLCHoklch(41.45% 0.15 319.6)
XYZxyz(10.7334, 6.1834, 20.0262)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D277D #377D27
analogous
#42277D #6D277D #7D2762
triadic
#6D277D #7D6D27 #277D6D
tetradic
#6D277D #7D4227 #377D27 #27627D
square
#6D277D #7D4227 #377D27 #27627D
split-complementary
#6D277D #627D27 #277D42
monochromatic
#1C0A20 #44184E #6D277D #9636AC #B455CA

Accessibility & contrast

On white

9.39
#6D277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6D277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D277D
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D277D#FFFFFF#000000##FFFFFF
##6D277D1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#2E497B
Tritanopia (blue-blind)
#6D364E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6d277d;
/* rgb */ color: rgb(109, 39, 125);
/* oklch */ color: oklch(41.4% 0.150 319.6);
Tailwind
colors: {
  custom: {
    50: '#9a67a3',
    500: '#6d277d',
    950: '#000000',
  },
}
SCSS
$custom: #6d277d;
$custom-light: #9a67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d277d",
  "rgb": {
    "r": 109,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 288.837,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.14964,
    "h": 319.6
  },
  "luminance": 0.06183
}

Semantic roles & 50–950 ramp

primary
#6D277D
secondary
#63AF51
accent
#DC4C67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6D277D

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

Preview Lab → · Contrast checker → · Palette generator →

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