#6C4AB2#6C4AB2

#6C4AB2 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.159 H 295.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6C4AB2
RGBrgb(108, 74, 178)
HSLhsl(260, 41%, 49%)
HSVhsv(260, 58%, 70%)
CMYKcmyk(39.3%, 58.4%, 0%, 30.2%)
CIE-LABlab(40.08, 38.13, -50.51)
CIE-LCHlch(40.08, 63.29, 307.05°)
OKLaboklab(49.95% 0.0673 -0.1436)
OKLCHoklch(49.95% 0.159 295.1)
XYZxyz(16.6669, 11.2997, 43.4138)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4AB2 #90B24A
analogous
#4A5CB2 #6C4AB2 #A04AB2
triadic
#6C4AB2 #B26C4A #4AB26C
tetradic
#6C4AB2 #B24A5C #90B24A #4AB2A0
square
#6C4AB2 #B24A5C #90B24A #4AB2A0
split-complementary
#6C4AB2 #B2A04A #5CB24A
monochromatic
#38265C #523887 #6C4AB2 #8F74C5 #B29FD7

Accessibility & contrast

On white

6.44
#6C4AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6C4AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4AB2
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4AB2#FFFFFF#000000##FFFFFF
##6C4AB21.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5FB5
Deuteranopia (green-blind)
#1D5DB0
Tritanopia (blue-blind)
#5B6077
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c4ab2;
/* rgb */ color: rgb(108, 74, 178);
/* oklch */ color: oklch(50.0% 0.159 295.1);
Tailwind
colors: {
  custom: {
    50: '#9b7eca',
    500: '#6c4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4ab2;
$custom-light: #9b7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4ab2",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 259.615,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49953,
    "c": 0.15859,
    "h": 295.1
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#6C4AB2
secondary
#B4C494
accent
#D157A9
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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