#6D4E9B#6D4E9B

#6D4E9B is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.2% C 0.122 H 300.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6D4E9B
RGBrgb(109, 78, 155)
HSLhsl(264, 33%, 46%)
HSVhsv(264, 50%, 61%)
CMYKcmyk(29.7%, 49.7%, 0%, 39.2%)
CIE-LABlab(39.69, 29.82, -37.44)
CIE-LCHlch(39.69, 47.87, 308.54°)
OKLaboklab(49.24% 0.0622 -0.1052)
OKLCHoklch(49.24% 0.122 300.6)
XYZxyz(14.9461, 11.0665, 32.3526)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E9B #7C9B4E
analogous
#4E559B #6D4E9B #934E9B
triadic
#6D4E9B #9B6D4E #4E9B6D
tetradic
#6D4E9B #9B4E55 #7C9B4E #4E9B93
square
#6D4E9B #9B4E55 #7C9B4E #4E9B93
split-complementary
#6D4E9B #9B934E #559B4E
monochromatic
#34254A #503A72 #6D4E9B #8C6FB7 #AD98CB

Accessibility & contrast

On white

6.54
#6D4E9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6D4E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E9B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E9B#FFFFFF#000000##FFFFFF
##6D4E9B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#645C6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d4e9b;
/* rgb */ color: rgb(109, 78, 155);
/* oklch */ color: oklch(49.2% 0.122 300.6);
Tailwind
colors: {
  custom: {
    50: '#9980b9',
    500: '#6d4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e9b;
$custom-light: #9980b9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e9b",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 264.156,
    "s": 33.047,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49235,
    "c": 0.12223,
    "h": 300.6
  },
  "luminance": 0.11067
}

Semantic roles & 50–950 ramp

primary
#6D4E9B
secondary
#A7B88D
accent
#C95F9E
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6D4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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