#6B4E82#6B4E82

#6B4E82 is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.6% C 0.088 H 309.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6B4E82
RGBrgb(107, 78, 130)
HSLhsl(273, 25%, 41%)
HSVhsv(273, 40%, 51%)
CMYKcmyk(17.7%, 40%, 0%, 49%)
CIE-LABlab(38.17, 22.88, -24.67)
CIE-LCHlch(38.17, 33.65, 312.85°)
OKLaboklab(47.62% 0.0553 -0.0683)
OKLCHoklch(47.62% 0.088 309)
XYZxyz(12.8163, 10.1864, 22.4058)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4E82 #65824E
analogous
#514E82 #6B4E82 #824E7F
triadic
#6B4E82 #826B4E #4E826B
tetradic
#6B4E82 #82514E #65824E #4E7F82
square
#6B4E82 #82514E #65824E #4E7F82
split-complementary
#6B4E82 #7F824E #4E8251
monochromatic
#2C2035 #4C375C #6B4E82 #8A68A5 #A88FBC

Accessibility & contrast

On white

6.91
#6B4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6B4E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4E82
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4E82#FFFFFF#000000##FFFFFF
##6B4E821.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435984
Deuteranopia (green-blind)
#4A5A81
Tritanopia (blue-blind)
#685662
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b4e82;
/* rgb */ color: rgb(107, 78, 130);
/* oklch */ color: oklch(47.6% 0.088 309.0);
Tailwind
colors: {
  custom: {
    50: '#9680a6',
    500: '#6b4e82',
    950: '#000000',
  },
}
SCSS
$custom: #6b4e82;
$custom-light: #9680a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4e82",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 130
  },
  "hsl": {
    "h": 273.462,
    "s": 25,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.08786,
    "h": 309
  },
  "luminance": 0.10186
}

Semantic roles & 50–950 ramp

primary
#6B4E82
secondary
#94A884
accent
#C1668F
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A0F
muted
#7E7C7F

Preview Lab

Preview with #6B4E82

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

Preview Lab → · Contrast checker → · Palette generator →

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