#6D4EA3#6D4EA3

#6D4EA3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.7% C 0.133 H 298.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#6D4EA3
RGBrgb(109, 78, 163)
HSLhsl(262, 35%, 47%)
HSVhsv(262, 52%, 64%)
CMYKcmyk(33.1%, 52.1%, 0%, 36.1%)
CIE-LABlab(40.15, 31.95, -41.49)
CIE-LCHlch(40.15, 52.37, 307.60°)
OKLaboklab(49.73% 0.0629 -0.1171)
OKLCHoklch(49.73% 0.133 298.3)
XYZxyz(15.6403, 11.3442, 36.0089)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4EA3 #84A34E
analogous
#4E5AA3 #6D4EA3 #984EA3
triadic
#6D4EA3 #A36D4E #4EA36D
tetradic
#6D4EA3 #A34E5A #84A34E #4EA398
square
#6D4EA3 #A34E5A #84A34E #4EA398
split-complementary
#6D4EA3 #A3984E #5AA34E
monochromatic
#362650 #513A7A #6D4EA3 #8D72BC #AF9CD0

Accessibility & contrast

On white

6.42
#6D4EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6D4EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4EA3
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4EA3#FFFFFF#000000##FFFFFF
##6D4EA31.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA6
Deuteranopia (green-blind)
#375EA1
Tritanopia (blue-blind)
#615E71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6d4ea3;
/* rgb */ color: rgb(109, 78, 163);
/* oklch */ color: oklch(49.7% 0.133 298.3);
Tailwind
colors: {
  custom: {
    50: '#9a80bf',
    500: '#6d4ea3',
    950: '#000000',
  },
}
SCSS
$custom: #6d4ea3;
$custom-light: #9a80bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4ea3",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 261.882,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.13293,
    "h": 298.3
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#6D4EA3
secondary
#ACBC91
accent
#CB5CA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6D4EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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