#6D2D8A#6D2D8A

#6D2D8A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.154 H 313.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6D2D8A
RGBrgb(109, 45, 138)
HSLhsl(281, 51%, 36%)
HSVhsv(281, 67%, 54%)
CMYKcmyk(21%, 67.4%, 0%, 45.9%)
CIE-LABlab(31.72, 43.95, -39.79)
CIE-LCHlch(31.72, 59.29, 317.84°)
OKLaboklab(43.05% 0.1062 -0.112)
OKLCHoklch(43.05% 0.154 313.5)
XYZxyz(11.8317, 6.9633, 24.7606)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D8A #4A8A2D
analogous
#3E2D8A #6D2D8A #8A2D78
triadic
#6D2D8A #8A6D2D #2D8A6D
tetradic
#6D2D8A #8A3E2D #4A8A2D #2D788A
square
#6D2D8A #8A3E2D #4A8A2D #2D788A
split-complementary
#6D2D8A #788A2D #2D8A3E
monochromatic
#240F2E #491E5C #6D2D8A #913CB8 #AC65CD

Accessibility & contrast

On white

8.78
#6D2D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D2D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D8A
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D8A#FFFFFF#000000##FFFFFF
##6D2D8A1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#284C88
Tritanopia (blue-blind)
#6A3F57
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2d8a;
/* rgb */ color: rgb(109, 45, 138);
/* oklch */ color: oklch(43.1% 0.154 313.5);
Tailwind
colors: {
  custom: {
    50: '#9a6bad',
    500: '#6d2d8a',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d8a;
$custom-light: #9a6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d8a",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 281.29,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43053,
    "c": 0.15435,
    "h": 313.5
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#6D2D8A
secondary
#7AB360
accent
#DA4D79
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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