#6D4E9D#6D4E9D

#6D4E9D is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.125 H 300.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6D4E9D
RGBrgb(109, 78, 157)
HSLhsl(264, 34%, 46%)
HSVhsv(264, 50%, 62%)
CMYKcmyk(30.6%, 50.3%, 0%, 38.4%)
CIE-LABlab(39.81, 30.35, -38.46)
CIE-LCHlch(39.81, 48.99, 308.28°)
OKLaboklab(49.36% 0.0624 -0.1082)
OKLCHoklch(49.36% 0.125 300)
XYZxyz(15.1154, 11.1342, 33.2445)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E9D #7E9D4E
analogous
#4E569D #6D4E9D #944E9D
triadic
#6D4E9D #9D6D4E #4E9D6D
tetradic
#6D4E9D #9D4E56 #7E9D4E #4E9D94
square
#6D4E9D #9D4E56 #7E9D4E #4E9D94
split-complementary
#6D4E9D #9D944E #569D4E
monochromatic
#34254B #513A74 #6D4E9D #8C70B8 #AD99CC

Accessibility & contrast

On white

6.51
#6D4E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6D4E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E9D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E9D#FFFFFF#000000##FFFFFF
##6D4E9D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA0
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#635D6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d4e9d;
/* rgb */ color: rgb(109, 78, 157);
/* oklch */ color: oklch(49.4% 0.125 300.0);
Tailwind
colors: {
  custom: {
    50: '#9980ba',
    500: '#6d4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e9d;
$custom-light: #9980ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e9d",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 263.544,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49357,
    "c": 0.12492,
    "h": 300
  },
  "luminance": 0.11134
}

Semantic roles & 50–950 ramp

primary
#6D4E9D
secondary
#A8B98E
accent
#CA5E9F
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6D4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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