#6C4E95#6C4E95

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

Color values

HEX#6C4E95
RGBrgb(108, 78, 149)
HSLhsl(265, 31%, 45%)
HSVhsv(265, 48%, 58%)
CMYKcmyk(27.5%, 47.7%, 0%, 41.6%)
CIE-LABlab(39.25, 27.97, -34.53)
CIE-LCHlch(39.25, 44.44, 309.01°)
OKLaboklab(48.77% 0.0601 -0.0968)
OKLCHoklch(48.77% 0.114 301.8)
XYZxyz(14.3323, 10.8068, 29.7588)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4E95 #77954E
analogous
#4E5495 #6C4E95 #904E95
triadic
#6C4E95 #956C4E #4E956C
tetradic
#6C4E95 #954E54 #77954E #4E9590
square
#6C4E95 #954E54 #77954E #4E9590
split-complementary
#6C4E95 #95904E #54954E
monochromatic
#322445 #4F396D #6C4E95 #8B6DB3 #AB96C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C4E95#FFFFFF#000000##FFFFFF
##6C4E951.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)
#395C98
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#645B6A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6c4e95;
/* rgb */ color: rgb(108, 78, 149);
/* oklch */ color: oklch(48.8% 0.114 301.8);
Tailwind
colors: {
  custom: {
    50: '#9880b4',
    500: '#6c4e95',
    950: '#000000',
  },
}
SCSS
$custom: #6c4e95;
$custom-light: #9880b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4e95",
  "rgb": {
    "r": 108,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 265.352,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.11392,
    "h": 301.8
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#6C4E95
secondary
#A3B48A
accent
#C7609C
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6C4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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