#6D4E97#6D4E97

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

Color values

HEX#6D4E97
RGBrgb(109, 78, 151)
HSLhsl(265, 32%, 45%)
HSVhsv(265, 48%, 59%)
CMYKcmyk(27.8%, 48.3%, 0%, 40.8%)
CIE-LABlab(39.47, 28.78, -35.38)
CIE-LCHlch(39.47, 45.61, 309.12°)
OKLaboklab(49% 0.0617 -0.0992)
OKLCHoklch(49% 0.117 301.9)
XYZxyz(14.6157, 10.9343, 30.6127)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E97 #78974E
analogous
#4E5497 #6D4E97 #914E97
triadic
#6D4E97 #976D4E #4E976D
tetradic
#6D4E97 #974E54 #78974E #4E9791
square
#6D4E97 #974E54 #78974E #4E9791
split-complementary
#6D4E97 #97914E #54974E
monochromatic
#332446 #50396F #6D4E97 #8C6EB4 #AC96C9

Accessibility & contrast

On white

6.59
#6D4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6D4E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E97
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E97#FFFFFF#000000##FFFFFF
##6D4E971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#405D95
Tritanopia (blue-blind)
#655B6B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d4e97;
/* rgb */ color: rgb(109, 78, 151);
/* oklch */ color: oklch(49.0% 0.117 301.9);
Tailwind
colors: {
  custom: {
    50: '#9980b6',
    500: '#6d4e97',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e97;
$custom-light: #9980b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e97",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 265.479,
    "s": 31.878,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48997,
    "c": 0.11685,
    "h": 301.9
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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