#6C4DAE#6C4DAE

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

Color values

HEX#6C4DAE
RGBrgb(108, 77, 174)
HSLhsl(259, 39%, 49%)
HSVhsv(259, 56%, 68%)
CMYKcmyk(37.9%, 55.7%, 0%, 31.8%)
CIE-LABlab(40.49, 35.28, -47.48)
CIE-LCHlch(40.49, 59.16, 306.61°)
OKLaboklab(50.18% 0.0635 -0.1347)
OKLCHoklch(50.18% 0.149 295.2)
XYZxyz(16.4762, 11.5516, 41.3978)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DAE #8FAE4D
analogous
#4D5FAE #6C4DAE #9D4DAE
triadic
#6C4DAE #AE6C4D #4DAE6C
tetradic
#6C4DAE #AE4D5F #8FAE4D #4DAE9D
square
#6C4DAE #AE4D5F #8FAE4D #4DAE9D
split-complementary
#6C4DAE #AE9D4D #5FAE4D
monochromatic
#372759 #523A84 #6C4DAE #8E76C2 #B1A0D5

Accessibility & contrast

On white

6.34
#6C4DAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#6C4DAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DAE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DAE#FFFFFF#000000##FFFFFF
##6C4DAE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B1
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#5C6176
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c4dae;
/* rgb */ color: rgb(108, 77, 174);
/* oklch */ color: oklch(50.2% 0.149 295.2);
Tailwind
colors: {
  custom: {
    50: '#9a80c7',
    500: '#6c4dae',
    950: '#000000',
  },
}
SCSS
$custom: #6c4dae;
$custom-light: #9a80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4dae",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 259.175,
    "s": 38.645,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50175,
    "c": 0.14893,
    "h": 295.2
  },
  "luminance": 0.11552
}

Semantic roles & 50–950 ramp

primary
#6C4DAE
secondary
#B4C295
accent
#CF59A9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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