#6C4CAB#6C4CAB

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

Color values

HEX#6C4CAB
RGBrgb(108, 76, 171)
HSLhsl(260, 38%, 48%)
HSVhsv(260, 56%, 67%)
CMYKcmyk(36.8%, 55.6%, 0%, 32.9%)
CIE-LABlab(40.08, 35.04, -46.38)
CIE-LCHlch(40.08, 58.13, 307.07°)
OKLaboklab(49.81% 0.0647 -0.1314)
OKLCHoklch(49.81% 0.147 296.2)
XYZxyz(16.1176, 11.2970, 39.8516)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CAB #8BAB4C
analogous
#4C5BAB #6C4CAB #9B4CAB
triadic
#6C4CAB #AB6C4C #4CAB6C
tetradic
#6C4CAB #AB4C5B #8BAB4C #4CAB9B
square
#6C4CAB #AB4C5B #8BAB4C #4CAB9B
split-complementary
#6C4CAB #AB9B4C #5BAB4C
monochromatic
#362656 #513981 #6C4CAB #8D73C1 #B09ED4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C4CAB#FFFFFF#000000##FFFFFF
##6C4CAB1.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)
#215FAE
Deuteranopia (green-blind)
#2B5DA9
Tritanopia (blue-blind)
#5D5F74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6c4cab;
/* rgb */ color: rgb(108, 76, 171);
/* oklch */ color: oklch(49.8% 0.147 296.2);
Tailwind
colors: {
  custom: {
    50: '#9a7fc4',
    500: '#6c4cab',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cab;
$custom-light: #9a7fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cab",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 260.211,
    "s": 38.462,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49805,
    "c": 0.14651,
    "h": 296.2
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#6C4CAB
secondary
#B1C092
accent
#CE59A7
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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