#6D4E87#6D4E87

#6D4E87 is a mid, moderate violet. Relative luminance 0.104; OKLCH L 48.1% C 0.095 H 308.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6D4E87
RGBrgb(109, 78, 135)
HSLhsl(273, 27%, 42%)
HSVhsv(273, 42%, 53%)
CMYKcmyk(19.3%, 42.2%, 0%, 47.1%)
CIE-LABlab(38.64, 24.75, -26.99)
CIE-LCHlch(38.64, 36.62, 312.52°)
OKLaboklab(48.1% 0.059 -0.0749)
OKLCHoklch(48.1% 0.095 308.2)
XYZxyz(13.4034, 10.4494, 24.2278)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E87 #68874E
analogous
#514E87 #6D4E87 #874E85
triadic
#6D4E87 #876D4E #4E876D
tetradic
#6D4E87 #87514E #68874E #4E8587
square
#6D4E87 #87514E #68874E #4E8587
split-complementary
#6D4E87 #85874E #4E8751
monochromatic
#2E2139 #4E3860 #6D4E87 #8C6AA9 #AA90BF

Accessibility & contrast

On white

6.80
#6D4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6D4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E87
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E87#FFFFFF#000000##FFFFFF
##6D4E871.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425A89
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#6A5764
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d4e87;
/* rgb */ color: rgb(109, 78, 135);
/* oklch */ color: oklch(48.1% 0.095 308.2);
Tailwind
colors: {
  custom: {
    50: '#9880aa',
    500: '#6d4e87',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e87;
$custom-light: #9880aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e87",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 272.632,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.481,
    "c": 0.09533,
    "h": 308.2
  },
  "luminance": 0.10449
}

Semantic roles & 50–950 ramp

primary
#6D4E87
secondary
#97AC85
accent
#C36590
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0E0A10
muted
#7E7C7F

Preview Lab

Preview with #6D4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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