#6C4AAF#6C4AAF

#6C4AAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.155 H 295.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#6C4AAF
RGBrgb(108, 74, 175)
HSLhsl(260, 41%, 49%)
HSVhsv(260, 58%, 69%)
CMYKcmyk(38.3%, 57.7%, 0%, 31.4%)
CIE-LABlab(39.88, 37.31, -49.06)
CIE-LCHlch(39.88, 61.63, 307.25°)
OKLaboklab(49.75% 0.0673 -0.1393)
OKLCHoklch(49.75% 0.155 295.8)
XYZxyz(16.3690, 11.1805, 41.8448)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4AAF #8DAF4A
analogous
#4A5BAF #6C4AAF #9F4AAF
triadic
#6C4AAF #AF6C4A #4AAF6C
tetradic
#6C4AAF #AF4A5B #8DAF4A #4AAF9F
square
#6C4AAF #AF4A5B #8DAF4A #4AAF9F
split-complementary
#6C4AAF #AF9F4A #5BAF4A
monochromatic
#372659 #513884 #6C4AAF #8E73C4 #B19ED6

Accessibility & contrast

On white

6.49
#6C4AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#6C4AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4AAF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4AAF#FFFFFF#000000##FFFFFF
##6C4AAF1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#225DAD
Tritanopia (blue-blind)
#5C5F75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c4aaf;
/* rgb */ color: rgb(108, 74, 175);
/* oklch */ color: oklch(49.7% 0.155 295.8);
Tailwind
colors: {
  custom: {
    50: '#9a7ec7',
    500: '#6c4aaf',
    950: '#000000',
  },
}
SCSS
$custom: #6c4aaf;
$custom-light: #9a7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4aaf",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 260.198,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.15473,
    "h": 295.8
  },
  "luminance": 0.11181
}

Semantic roles & 50–950 ramp

primary
#6C4AAF
secondary
#B2C292
accent
#D057A8
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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