#6C4DA2#6C4DA2

#6C4DA2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.133 H 298.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6C4DA2
RGBrgb(108, 77, 162)
HSLhsl(262, 36%, 47%)
HSVhsv(262, 52%, 64%)
CMYKcmyk(33.3%, 52.5%, 0%, 36.5%)
CIE-LABlab(39.76, 32.01, -41.53)
CIE-LCHlch(39.76, 52.44, 307.62°)
OKLaboklab(49.39% 0.0629 -0.1172)
OKLCHoklch(49.39% 0.133 298.2)
XYZxyz(15.3582, 11.1044, 35.5096)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DA2 #83A24D
analogous
#4D59A2 #6C4DA2 #974DA2
triadic
#6C4DA2 #A26C4D #4DA26C
tetradic
#6C4DA2 #A24D59 #83A24D #4DA297
square
#6C4DA2 #A24D59 #83A24D #4DA297
split-complementary
#6C4DA2 #A2974D #59A24D
monochromatic
#35264F #503979 #6C4DA2 #8C71BB #AE9ACF

Accessibility & contrast

On white

6.52
#6C4DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6C4DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DA2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DA2#FFFFFF#000000##FFFFFF
##6C4DA21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#365DA0
Tritanopia (blue-blind)
#605D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c4da2;
/* rgb */ color: rgb(108, 77, 162);
/* oklch */ color: oklch(49.4% 0.133 298.2);
Tailwind
colors: {
  custom: {
    50: '#997fbe',
    500: '#6c4da2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4da2;
$custom-light: #997fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4da2",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 261.882,
    "s": 35.565,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4939,
    "c": 0.13306,
    "h": 298.2
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#6C4DA2
secondary
#ABBC8F
accent
#CC5CA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6C4DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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