#6D2D7F#6D2D7F

#6D2D7F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.3% C 0.143 H 318.2°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#6D2D7F
RGBrgb(109, 45, 127)
HSLhsl(287, 48%, 34%)
HSVhsv(287, 65%, 50%)
CMYKcmyk(14.2%, 64.6%, 0%, 50.2%)
CIE-LABlab(31.02, 41.54, -34.07)
CIE-LCHlch(31.02, 53.72, 320.64°)
OKLaboklab(42.32% 0.1065 -0.0953)
OKLCHoklch(42.32% 0.143 318.2)
XYZxyz(11.0753, 6.6607, 20.7768)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2D7F #3F7F2D
analogous
#442D7F #6D2D7F #7F2D68
triadic
#6D2D7F #7F6D2D #2D7F6D
tetradic
#6D2D7F #7F442D #3F7F2D #2D687F
square
#6D2D7F #7F442D #3F7F2D #2D687F
split-complementary
#6D2D7F #687F2D #2D7F44
monochromatic
#1F0D25 #461D52 #6D2D7F #943DAC #B060C7

Accessibility & contrast

On white

9.01
#6D2D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6D2D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2D7F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2D7F#FFFFFF#000000##FFFFFF
##6D2D7F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#6D3B52
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6d2d7f;
/* rgb */ color: rgb(109, 45, 127);
/* oklch */ color: oklch(42.3% 0.143 318.2);
Tailwind
colors: {
  custom: {
    50: '#996aa4',
    500: '#6d2d7f',
    950: '#000000',
  },
}
SCSS
$custom: #6d2d7f;
$custom-light: #996aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2d7f",
  "rgb": {
    "r": 109,
    "g": 45,
    "b": 127
  },
  "hsl": {
    "h": 286.829,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.14286,
    "h": 318.2
  },
  "luminance": 0.0666
}

Semantic roles & 50–950 ramp

primary
#6D2D7F
secondary
#6DAD5B
accent
#D7516E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #6D2D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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