#6C4DA3#6C4DA3

#6C4DA3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.134 H 297.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#6C4DA3
RGBrgb(108, 77, 163)
HSLhsl(262, 36%, 47%)
HSVhsv(262, 53%, 64%)
CMYKcmyk(33.7%, 52.8%, 0%, 36.1%)
CIE-LABlab(39.82, 32.28, -42.04)
CIE-LCHlch(39.82, 53.00, 307.52°)
OKLaboklab(49.45% 0.063 -0.1187)
OKLCHoklch(49.45% 0.134 297.9)
XYZxyz(15.4475, 11.1401, 35.9796)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DA3 #84A34D
analogous
#4D59A3 #6C4DA3 #974DA3
triadic
#6C4DA3 #A36C4D #4DA36C
tetradic
#6C4DA3 #A34D59 #84A34D #4DA397
square
#6C4DA3 #A34D59 #84A34D #4DA397
split-complementary
#6C4DA3 #A3974D #59A34D
monochromatic
#352650 #503979 #6C4DA3 #8C71BC #AE9BD0

Accessibility & contrast

On white

6.51
#6C4DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6C4DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DA3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DA3#FFFFFF#000000##FFFFFF
##6C4DA31.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA6
Deuteranopia (green-blind)
#355DA1
Tritanopia (blue-blind)
#605E70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c4da3;
/* rgb */ color: rgb(108, 77, 163);
/* oklch */ color: oklch(49.5% 0.134 297.9);
Tailwind
colors: {
  custom: {
    50: '#997fbf',
    500: '#6c4da3',
    950: '#000000',
  },
}
SCSS
$custom: #6c4da3;
$custom-light: #997fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4da3",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 163
  },
  "hsl": {
    "h": 261.628,
    "s": 35.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49453,
    "c": 0.13439,
    "h": 297.9
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

primary
#6C4DA3
secondary
#ACBC90
accent
#CC5CA4
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6C4DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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