#6B4E97#6B4E97

#6B4E97 is a mid, moderate violet. Relative luminance 0.108; OKLCH L 48.8% C 0.116 H 300.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#6B4E97
RGBrgb(107, 78, 151)
HSLhsl(264, 32%, 45%)
HSVhsv(264, 48%, 59%)
CMYKcmyk(29.1%, 48.3%, 0%, 40.8%)
CIE-LABlab(39.26, 28.20, -35.74)
CIE-LCHlch(39.26, 45.52, 308.28°)
OKLaboklab(48.79% 0.0591 -0.1003)
OKLCHoklch(48.79% 0.116 300.5)
XYZxyz(14.3724, 10.8089, 30.6013)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4E97 #7A974E
analogous
#4E5597 #6B4E97 #904E97
triadic
#6B4E97 #976B4E #4E976B
tetradic
#6B4E97 #974E55 #7A974E #4E9790
square
#6B4E97 #974E55 #7A974E #4E9790
split-complementary
#6B4E97 #97904E #55974E
monochromatic
#322446 #4E396F #6B4E97 #8A6EB4 #AB96C9

Accessibility & contrast

On white

6.64
#6B4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6B4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4E97
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4E97#FFFFFF#000000##FFFFFF
##6B4E971.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#625B6B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6b4e97;
/* rgb */ color: rgb(107, 78, 151);
/* oklch */ color: oklch(48.8% 0.116 300.5);
Tailwind
colors: {
  custom: {
    50: '#9780b6',
    500: '#6b4e97',
    950: '#000000',
  },
}
SCSS
$custom: #6b4e97;
$custom-light: #9780b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4e97",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 263.836,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.11643,
    "h": 300.5
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#6B4E97
secondary
#A5B68B
accent
#C8609F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6B4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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