#6C4CB4#6C4CB4

#6C4CB4 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.158 H 294.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6C4CB4
RGBrgb(108, 76, 180)
HSLhsl(258, 41%, 50%)
HSVhsv(258, 58%, 71%)
CMYKcmyk(40%, 57.8%, 0%, 29.4%)
CIE-LABlab(40.66, 37.53, -50.76)
CIE-LCHlch(40.66, 63.13, 306.47°)
OKLaboklab(50.42% 0.0648 -0.1443)
OKLCHoklch(50.42% 0.158 294.2)
XYZxyz(17.0048, 11.6519, 44.5243)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CB4 #94B44C
analogous
#4C60B4 #6C4CB4 #A04CB4
triadic
#6C4CB4 #B46C4C #4CB46C
tetradic
#6C4CB4 #B44C60 #94B44C #4CB4A0
square
#6C4CB4 #B44C60 #94B44C #4CB4A0
split-complementary
#6C4CB4 #B4A04C #60B44C
monochromatic
#38275E #523A89 #6C4CB4 #8F77C6 #B3A2D8

Accessibility & contrast

On white

6.31
#6C4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6C4CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CB4
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CB4#FFFFFF#000000##FFFFFF
##6C4CB41.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1161B7
Deuteranopia (green-blind)
#1E5EB2
Tritanopia (blue-blind)
#5A6278
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c4cb4;
/* rgb */ color: rgb(108, 76, 180);
/* oklch */ color: oklch(50.4% 0.158 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b7fcb',
    500: '#6c4cb4',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cb4;
$custom-light: #9b7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cb4",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 258.462,
    "s": 40.945,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50419,
    "c": 0.15822,
    "h": 294.2
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#6C4CB4
secondary
#B7C597
accent
#D157AB
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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