#6D2D8D#6D2D8D

#6D2D8D is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.158 H 312.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#6D2D8D
RGBrgb(109, 45, 141)
HSLhsl(280, 52%, 36%)
HSVhsv(280, 68%, 55%)
CMYKcmyk(22.7%, 68.1%, 0%, 44.7%)
CIE-LABlab(31.92, 44.63, -41.33)
CIE-LCHlch(31.92, 60.82, 317.20°)
OKLaboklab(43.26% 0.106 -0.1165)
OKLCHoklch(43.26% 0.158 312.3)
XYZxyz(12.0519, 7.0514, 25.9203)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D8D #4D8D2D
analogous
#3D2D8D #6D2D8D #8D2D7D
triadic
#6D2D8D #8D6D2D #2D8D6D
tetradic
#6D2D8D #8D3D2D #4D8D2D #2D7D8D
square
#6D2D8D #8D3D2D #4D8D2D #2D7D8D
split-complementary
#6D2D8D #7D8D2D #2D8D3D
monochromatic
#250F30 #491E5F #6D2D8D #913CBB #AC66CE

Accessibility & contrast

On white

8.71
#6D2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D2D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D8D
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D8D#FFFFFF#000000##FFFFFF
##6D2D8D1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#244C8B
Tritanopia (blue-blind)
#694059
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d2d8d;
/* rgb */ color: rgb(109, 45, 141);
/* oklch */ color: oklch(43.3% 0.158 312.3);
Tailwind
colors: {
  custom: {
    50: '#9a6baf',
    500: '#6d2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d8d;
$custom-light: #9a6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d8d",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 280,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.15752,
    "h": 312.3
  },
  "luminance": 0.07051
}

Semantic roles & 50–950 ramp

primary
#6D2D8D
secondary
#7DB561
accent
#DB4D7C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #6D2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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