#6D4EAB#6D4EAB

#6D4EAB is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.2% C 0.144 H 296.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6D4EAB
RGBrgb(109, 78, 171)
HSLhsl(260, 37%, 49%)
HSVhsv(260, 54%, 67%)
CMYKcmyk(36.3%, 54.4%, 0%, 32.9%)
CIE-LABlab(40.64, 34.12, -45.47)
CIE-LCHlch(40.64, 56.85, 306.88°)
OKLaboklab(50.24% 0.0634 -0.1288)
OKLCHoklch(50.24% 0.144 296.2)
XYZxyz(16.3799, 11.6400, 39.9039)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4EAB #8CAB4E
analogous
#4E5EAB #6D4EAB #9C4EAB
triadic
#6D4EAB #AB6D4E #4EAB6D
tetradic
#6D4EAB #AB4E5E #8CAB4E #4EAB9C
square
#6D4EAB #AB4E5E #8CAB4E #4EAB9C
split-complementary
#6D4EAB #AB9C4E #5EAB4E
monochromatic
#372857 #523B81 #6D4EAB #8F76C0 #B1A0D4

Accessibility & contrast

On white

6.31
#6D4EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6D4EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4EAB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4EAB#FFFFFF#000000##FFFFFF
##6D4EAB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#2F5FA9
Tritanopia (blue-blind)
#5F6175
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4eab;
/* rgb */ color: rgb(109, 78, 171);
/* oklch */ color: oklch(50.2% 0.144 296.2);
Tailwind
colors: {
  custom: {
    50: '#9a80c4',
    500: '#6d4eab',
    950: '#000000',
  },
}
SCSS
$custom: #6d4eab;
$custom-light: #9a80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4eab",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 171
  },
  "hsl": {
    "h": 260,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.14354,
    "h": 296.2
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#6D4EAB
secondary
#B2C194
accent
#CD5AA7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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