#6D4D9D#6D4D9D

#6D4D9D is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.2% C 0.127 H 300.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6D4D9D
RGBrgb(109, 77, 157)
HSLhsl(264, 34%, 46%)
HSVhsv(264, 51%, 62%)
CMYKcmyk(30.6%, 51%, 0%, 38.4%)
CIE-LABlab(39.57, 30.95, -38.83)
CIE-LCHlch(39.57, 49.66, 308.55°)
OKLaboklab(49.18% 0.0638 -0.1093)
OKLCHoklch(49.18% 0.127 300.3)
XYZxyz(15.0449, 10.9932, 33.2210)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4D9D #7D9D4D
analogous
#4D559D #6D4D9D #954D9D
triadic
#6D4D9D #9D6D4D #4D9D6D
tetradic
#6D4D9D #9D4D55 #7D9D4D #4D9D95
square
#6D4D9D #9D4D55 #7D9D4D #4D9D95
split-complementary
#6D4D9D #9D954D #559D4D
monochromatic
#34254B #503974 #6D4D9D #8C6FB8 #AD98CC

Accessibility & contrast

On white

6.57
#6D4D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6D4D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4D9D
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4D9D#FFFFFF#000000##FFFFFF
##6D4D9D1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#635C6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d4d9d;
/* rgb */ color: rgb(109, 77, 157);
/* oklch */ color: oklch(49.2% 0.127 300.3);
Tailwind
colors: {
  custom: {
    50: '#997fba',
    500: '#6d4d9d',
    950: '#000000',
  },
}
SCSS
$custom: #6d4d9d;
$custom-light: #997fba;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4d9d",
  "rgb": {
    "r": 109,
    "g": 77,
    "b": 157
  },
  "hsl": {
    "h": 264,
    "s": 34.188,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49181,
    "c": 0.12657,
    "h": 300.3
  },
  "luminance": 0.10993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D4D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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