#6D4E96#6D4E96

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

Color values

HEX#6D4E96
RGBrgb(109, 78, 150)
HSLhsl(266, 32%, 45%)
HSVhsv(266, 48%, 59%)
CMYKcmyk(27.3%, 48%, 0%, 41.2%)
CIE-LABlab(39.41, 28.52, -34.87)
CIE-LCHlch(39.41, 45.05, 309.28°)
OKLaboklab(48.94% 0.0616 -0.0977)
OKLCHoklch(48.94% 0.116 302.2)
XYZxyz(14.5349, 10.9020, 30.1868)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E96 #77964E
analogous
#4E5396 #6D4E96 #914E96
triadic
#6D4E96 #966D4E #4E966D
tetradic
#6D4E96 #964E53 #77964E #4E9691
square
#6D4E96 #964E53 #77964E #4E9691
split-complementary
#6D4E96 #96914E #53964E
monochromatic
#322445 #50396E #6D4E96 #8C6EB3 #AC96C8

Accessibility & contrast

On white

6.60
#6D4E96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6D4E96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E96
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E96#FFFFFF#000000##FFFFFF
##6D4E961.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395C99
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#665B6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d4e96;
/* rgb */ color: rgb(109, 78, 150);
/* oklch */ color: oklch(48.9% 0.116 302.2);
Tailwind
colors: {
  custom: {
    50: '#9980b5',
    500: '#6d4e96',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e96;
$custom-light: #9980b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e96",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 265.833,
    "s": 31.579,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48938,
    "c": 0.11551,
    "h": 302.2
  },
  "luminance": 0.10902
}

Semantic roles & 50–950 ramp

primary
#6D4E96
secondary
#A3B58B
accent
#C8609B
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6D4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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