#6C49CC#6C49CC

#6C49CC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.192 H 290.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6C49CC
RGBrgb(108, 73, 204)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 64%, 80%)
CMYKcmyk(47.1%, 64.2%, 0%, 20%)
CIE-LABlab(41.71, 45.97, -63.06)
CIE-LCHlch(41.71, 78.04, 306.09°)
OKLaboklab(51.72% 0.0669 -0.1805)
OKLCHoklch(51.72% 0.192 290.3)
XYZxyz(19.4629, 12.3121, 58.4660)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C49CC #A9CC49
analogous
#4968CC #6C49CC #AE49CC
triadic
#6C49CC #CC6C49 #49CC6C
tetradic
#6C49CC #CC4968 #A9CC49 #49CCAE
square
#6C49CC #CC4968 #A9CC49 #49CCAE
split-complementary
#6C49CC #CCAE49 #68CC49
monochromatic
#392279 #502FA9 #6C49CC #9379D9 #B9A9E7

Accessibility & contrast

On white

6.06
#6C49CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#6C49CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C49CC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C49CC#FFFFFF#000000##FFFFFF
##6C49CC1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#4E6884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6c49cc;
/* rgb */ color: rgb(108, 73, 204);
/* oklch */ color: oklch(51.7% 0.192 290.3);
Tailwind
colors: {
  custom: {
    50: '#9e7edc',
    500: '#6c49cc',
    950: '#000000',
  },
}
SCSS
$custom: #6c49cc;
$custom-light: #9e7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c49cc",
  "rgb": {
    "r": 108,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 256.031,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.19249,
    "h": 290.3
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#6C49CC
secondary
#C5D49D
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C49CC

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

Preview Lab → · Contrast checker → · Palette generator →

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