#6D4EAA#6D4EAA

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

Color values

HEX#6D4EAA
RGBrgb(109, 78, 170)
HSLhsl(260, 37%, 49%)
HSVhsv(260, 54%, 67%)
CMYKcmyk(35.9%, 54.1%, 0%, 33.3%)
CIE-LABlab(40.58, 33.84, -44.98)
CIE-LCHlch(40.58, 56.29, 306.96°)
OKLaboklab(50.18% 0.0634 -0.1273)
OKLCHoklch(50.18% 0.142 296.5)
XYZxyz(16.2849, 11.6020, 39.4038)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D4EAA #8BAA4E
analogous
#4E5DAA #6D4EAA #9B4EAA
triadic
#6D4EAA #AA6D4E #4EAA6D
tetradic
#6D4EAA #AA4E5D #8BAA4E #4EAA9B
square
#6D4EAA #AA4E5D #8BAA4E #4EAA9B
split-complementary
#6D4EAA #AA9B4E #5DAA4E
monochromatic
#372856 #523B80 #6D4EAA #8E75C0 #B19FD3

Accessibility & contrast

On white

6.32
#6D4EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6D4EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D4EAA
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D4EAA#FFFFFF#000000##FFFFFF
##6D4EAA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#305EA8
Tritanopia (blue-blind)
#5F6174
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d4eaa;
/* rgb */ color: rgb(109, 78, 170);
/* oklch */ color: oklch(50.2% 0.142 296.5);
Tailwind
colors: {
  custom: {
    50: '#9a80c4',
    500: '#6d4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #6d4eaa;
$custom-light: #9a80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6d4eaa",
  "rgb": {
    "r": 109,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 260.217,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.14222,
    "h": 296.5
  },
  "luminance": 0.11602
}

Semantic roles & 50–950 ramp

primary
#6D4EAA
secondary
#B1C094
accent
#CD5BA7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6D4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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