#6B4E99#6B4E99

#6B4E99 is a mid, moderate violet. Relative luminance 0.109; OKLCH L 48.9% C 0.119 H 299.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6B4E99
RGBrgb(107, 78, 153)
HSLhsl(263, 32%, 45%)
HSVhsv(263, 49%, 60%)
CMYKcmyk(30.1%, 49%, 0%, 40%)
CIE-LABlab(39.37, 28.73, -36.76)
CIE-LCHlch(39.37, 46.66, 308.01°)
OKLaboklab(48.91% 0.0593 -0.1033)
OKLCHoklch(48.91% 0.119 299.9)
XYZxyz(14.5362, 10.8744, 31.4640)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4E99 #7C994E
analogous
#4E5699 #6B4E99 #914E99
triadic
#6B4E99 #996B4E #4E996B
tetradic
#6B4E99 #994E56 #7C994E #4E9991
square
#6B4E99 #994E56 #7C994E #4E9991
split-complementary
#6B4E99 #99914E #56994E
monochromatic
#322548 #4F3970 #6B4E99 #8A6FB5 #AB97CA

Accessibility & contrast

On white

6.61
#6B4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6B4E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4E99
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4E99#FFFFFF#000000##FFFFFF
##6B4E991.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9C
Deuteranopia (green-blind)
#3D5C97
Tritanopia (blue-blind)
#625C6C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b4e99;
/* rgb */ color: rgb(107, 78, 153);
/* oklch */ color: oklch(48.9% 0.119 299.9);
Tailwind
colors: {
  custom: {
    50: '#9780b7',
    500: '#6b4e99',
    950: '#000000',
  },
}
SCSS
$custom: #6b4e99;
$custom-light: #9780b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4e99",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 263.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48908,
    "c": 0.11914,
    "h": 299.9
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#6B4E99
secondary
#A6B78C
accent
#C95FA0
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6B4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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