#6D4E8A#6D4E8A

#6D4E8A is a mid, moderate violet. Relative luminance 0.105; OKLCH L 48.3% C 0.099 H 306.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#6D4E8A
RGBrgb(109, 78, 138)
HSLhsl(271, 28%, 42%)
HSVhsv(271, 43%, 54%)
CMYKcmyk(21%, 43.5%, 0%, 45.9%)
CIE-LABlab(38.79, 25.48, -28.59)
CIE-LCHlch(38.79, 38.30, 311.72°)
OKLaboklab(48.26% 0.0596 -0.0795)
OKLCHoklch(48.26% 0.099 306.8)
XYZxyz(13.6176, 10.5351, 25.3559)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E8A #6B8A4E
analogous
#4F4E8A #6D4E8A #8A4E89
triadic
#6D4E8A #8A6D4E #4E8A6D
tetradic
#6D4E8A #8A4F4E #6B8A4E #4E898A
square
#6D4E8A #8A4F4E #6B8A4E #4E898A
split-complementary
#6D4E8A #898A4E #4E8A4F
monochromatic
#2F223C #4E3863 #6D4E8A #8C6AAB #AA91C1

Accessibility & contrast

On white

6.76
#6D4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#6D4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E8A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E8A#FFFFFF#000000##FFFFFF
##6D4E8A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#475C88
Tritanopia (blue-blind)
#695765
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d4e8a;
/* rgb */ color: rgb(109, 78, 138);
/* oklch */ color: oklch(48.3% 0.099 306.8);
Tailwind
colors: {
  custom: {
    50: '#9880ac',
    500: '#6d4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e8a;
$custom-light: #9880ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e8a",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 271,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.09936,
    "h": 306.8
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#6D4E8A
secondary
#99AE86
accent
#C46492
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #6D4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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