#6C49AB#6C49AB

#6C49AB is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.3% C 0.151 H 297.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6C49AB
RGBrgb(108, 73, 171)
HSLhsl(261, 40%, 48%)
HSVhsv(261, 57%, 67%)
CMYKcmyk(36.8%, 57.3%, 0%, 32.9%)
CIE-LABlab(39.40, 36.80, -47.46)
CIE-LCHlch(39.40, 60.06, 307.79°)
OKLaboklab(49.31% 0.0686 -0.1346)
OKLCHoklch(49.31% 0.151 297)
XYZxyz(15.9157, 10.8933, 39.7843)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C49AB #88AB49
analogous
#4957AB #6C49AB #9D49AB
triadic
#6C49AB #AB6C49 #49AB6C
tetradic
#6C49AB #AB4957 #88AB49 #49AB9D
square
#6C49AB #AB4957 #88AB49 #49AB9D
split-complementary
#6C49AB #AB9D49 #57AB49
monochromatic
#362455 #513780 #6C49AB #8D6FC2 #AF9AD4

Accessibility & contrast

On white

6.61
#6C49AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6C49AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C49AB
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C49AB#FFFFFF#000000##FFFFFF
##6C49AB1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAE
Deuteranopia (green-blind)
#265CA9
Tritanopia (blue-blind)
#5D5D73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6c49ab;
/* rgb */ color: rgb(108, 73, 171);
/* oklch */ color: oklch(49.3% 0.151 297.0);
Tailwind
colors: {
  custom: {
    50: '#9a7dc5',
    500: '#6c49ab',
    950: '#000000',
  },
}
SCSS
$custom: #6c49ab;
$custom-light: #9a7dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6c49ab",
  "rgb": {
    "r": 108,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 261.429,
    "s": 40.164,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49307,
    "c": 0.15109,
    "h": 297
  },
  "luminance": 0.10894
}

Semantic roles & 50–950 ramp

primary
#6C49AB
secondary
#AFC08F
accent
#D058A5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C49AB

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

Preview Lab → · Contrast checker → · Palette generator →

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