#6C4E97#6C4E97

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

Color values

HEX#6C4E97
RGBrgb(108, 78, 151)
HSLhsl(265, 32%, 45%)
HSVhsv(265, 48%, 59%)
CMYKcmyk(28.5%, 48.3%, 0%, 40.8%)
CIE-LABlab(39.36, 28.49, -35.56)
CIE-LCHlch(39.36, 45.57, 308.70°)
OKLaboklab(48.89% 0.0604 -0.0998)
OKLCHoklch(48.89% 0.117 301.2)
XYZxyz(14.4934, 10.8712, 30.6070)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4E97 #79974E
analogous
#4E5497 #6C4E97 #914E97
triadic
#6C4E97 #976C4E #4E976C
tetradic
#6C4E97 #974E54 #79974E #4E9791
square
#6C4E97 #974E54 #79974E #4E9791
split-complementary
#6C4E97 #97914E #54974E
monochromatic
#322446 #4F396F #6C4E97 #8B6EB4 #AB96C9

Accessibility & contrast

On white

6.62
#6C4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6C4E97
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4E97#FFFFFF#000000##FFFFFF
##6C4E971.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4e97;
/* rgb */ color: rgb(108, 78, 151);
/* oklch */ color: oklch(48.9% 0.117 301.2);
Tailwind
colors: {
  custom: {
    50: '#9880b6',
    500: '#6c4e97',
    950: '#000000',
  },
}
SCSS
$custom: #6c4e97;
$custom-light: #9880b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4e97",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 264.658,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.11663,
    "h": 301.2
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

primary
#6C4E97
secondary
#A4B68B
accent
#C8609D
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6C4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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