#6D4E95#6D4E95

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

Color values

HEX#6D4E95
RGBrgb(109, 78, 149)
HSLhsl(266, 31%, 45%)
HSVhsv(266, 48%, 58%)
CMYKcmyk(26.8%, 47.7%, 0%, 41.6%)
CIE-LABlab(39.36, 28.26, -34.35)
CIE-LCHlch(39.36, 44.48, 309.45°)
OKLaboklab(48.88% 0.0614 -0.0962)
OKLCHoklch(48.88% 0.114 302.5)
XYZxyz(14.4547, 10.8699, 29.7645)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4E95 #76954E
analogous
#4E5395 #6D4E95 #914E95
triadic
#6D4E95 #956D4E #4E956D
tetradic
#6D4E95 #954E53 #76954E #4E9591
square
#6D4E95 #954E53 #76954E #4E9591
split-complementary
#6D4E95 #95914E #53954E
monochromatic
#322445 #50396D #6D4E95 #8C6DB3 #AC96C8

Accessibility & contrast

On white

6.62
#6D4E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6D4E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4E95
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4E95#FFFFFF#000000##FFFFFF
##6D4E951.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C98
Deuteranopia (green-blind)
#415D93
Tritanopia (blue-blind)
#665A6A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6d4e95;
/* rgb */ color: rgb(109, 78, 149);
/* oklch */ color: oklch(48.9% 0.114 302.5);
Tailwind
colors: {
  custom: {
    50: '#9980b4',
    500: '#6d4e95',
    950: '#000000',
  },
}
SCSS
$custom: #6d4e95;
$custom-light: #9980b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4e95",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 149
  },
  "hsl": {
    "h": 266.197,
    "s": 31.278,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.11416,
    "h": 302.5
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#6D4E95
secondary
#A2B48A
accent
#C7609A
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6D4E95

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

Preview Lab → · Contrast checker → · Palette generator →

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