#6B4B99#6B4B99

#6B4B99 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.4% C 0.124 H 300.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6B4B99
RGBrgb(107, 75, 153)
HSLhsl(265, 34%, 45%)
HSVhsv(265, 51%, 60%)
CMYKcmyk(30.1%, 51%, 0%, 40%)
CIE-LABlab(38.65, 30.54, -37.90)
CIE-LCHlch(38.65, 48.67, 308.86°)
OKLaboklab(48.37% 0.0636 -0.1066)
OKLCHoklch(48.37% 0.124 300.8)
XYZxyz(14.3279, 10.4578, 31.3945)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4B99 #79994B
analogous
#4B5299 #6B4B99 #924B99
triadic
#6B4B99 #996B4B #4B996B
tetradic
#6B4B99 #994B52 #79994B #4B9992
square
#6B4B99 #994B52 #79994B #4B9992
split-complementary
#6B4B99 #99924B #52994B
monochromatic
#322347 #4E3770 #6B4B99 #8A6BB6 #AA94CB

Accessibility & contrast

On white

6.79
#6B4B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B4B99
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4B99#FFFFFF#000000##FFFFFF
##6B4B991.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315B9C
Deuteranopia (green-blind)
#3A5B97
Tritanopia (blue-blind)
#62596B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b4b99;
/* rgb */ color: rgb(107, 75, 153);
/* oklch */ color: oklch(48.4% 0.124 300.8);
Tailwind
colors: {
  custom: {
    50: '#987eb7',
    500: '#6b4b99',
    950: '#000000',
  },
}
SCSS
$custom: #6b4b99;
$custom-light: #987eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4b99",
  "rgb": {
    "r": 107,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 264.615,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.12416,
    "h": 300.8
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#6B4B99
secondary
#A4B789
accent
#CA5E9E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6B4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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