#6B4E87#6B4E87

#6B4E87 is a mid, moderate violet. Relative luminance 0.103; OKLCH L 47.9% C 0.095 H 306.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6B4E87
RGBrgb(107, 78, 135)
HSLhsl(271, 27%, 42%)
HSVhsv(271, 42%, 53%)
CMYKcmyk(20.7%, 42.2%, 0%, 47.1%)
CIE-LABlab(38.42, 24.11, -27.35)
CIE-LCHlch(38.42, 36.46, 311.40°)
OKLaboklab(47.88% 0.0564 -0.076)
OKLCHoklch(47.88% 0.095 306.6)
XYZxyz(13.1601, 10.3239, 24.2164)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4E87 #6A874E
analogous
#4E4E87 #6B4E87 #874E87
triadic
#6B4E87 #876B4E #4E876B
tetradic
#6B4E87 #874E4E #6A874E #4E8787
square
#6B4E87 #874E4E #6A874E #4E8787
split-complementary
#6B4E87 #87874E #4E874E
monochromatic
#2E2139 #4C3860 #6B4E87 #8A6AA9 #A890BF

Accessibility & contrast

On white

6.85
#6B4E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6B4E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4E87
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4E87#FFFFFF#000000##FFFFFF
##6B4E871.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415989
Deuteranopia (green-blind)
#485B85
Tritanopia (blue-blind)
#675764
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b4e87;
/* rgb */ color: rgb(107, 78, 135);
/* oklch */ color: oklch(47.9% 0.095 306.6);
Tailwind
colors: {
  custom: {
    50: '#9680aa',
    500: '#6b4e87',
    950: '#000000',
  },
}
SCSS
$custom: #6b4e87;
$custom-light: #9680aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4e87",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 270.526,
    "s": 26.761,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.09462,
    "h": 306.6
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

primary
#6B4E87
secondary
#98AC85
accent
#C36593
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #6B4E87

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

Preview Lab → · Contrast checker → · Palette generator →

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