#6B4E8A#6B4E8A

#6B4E8A is a mid, moderate violet. Relative luminance 0.104; OKLCH L 48.0% C 0.099 H 305.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6B4E8A
RGBrgb(107, 78, 138)
HSLhsl(269, 28%, 42%)
HSVhsv(269, 43%, 54%)
CMYKcmyk(22.5%, 43.5%, 0%, 45.9%)
CIE-LABlab(38.57, 24.86, -28.95)
CIE-LCHlch(38.57, 38.16, 310.66°)
OKLaboklab(48.05% 0.057 -0.0806)
OKLCHoklch(48.05% 0.099 305.3)
XYZxyz(13.3743, 10.4096, 25.3445)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4E8A #6D8A4E
analogous
#4E4F8A #6B4E8A #894E8A
triadic
#6B4E8A #8A6B4E #4E8A6B
tetradic
#6B4E8A #8A4E4F #6D8A4E #4E8A89
square
#6B4E8A #8A4E4F #6D8A4E #4E8A89
split-complementary
#6B4E8A #8A894E #4F8A4E
monochromatic
#2E223C #4D3863 #6B4E8A #8A6AAB #A891C1

Accessibility & contrast

On white

6.81
#6B4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6B4E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4E8A
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4E8A#FFFFFF#000000##FFFFFF
##6B4E8A1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#665865
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b4e8a;
/* rgb */ color: rgb(107, 78, 138);
/* oklch */ color: oklch(48.0% 0.099 305.3);
Tailwind
colors: {
  custom: {
    50: '#9780ac',
    500: '#6b4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #6b4e8a;
$custom-light: #9780ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4e8a",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 269,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.0987,
    "h": 305.3
  },
  "luminance": 0.1041
}

Semantic roles & 50–950 ramp

primary
#6B4E8A
secondary
#9BAE86
accent
#C46496
background
#F9F7FA
surface
#F2EEF4
border
#CCC9CE
text
#0D0A10
muted
#7E7C7F

Preview Lab

Preview with #6B4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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