#6C4DC7#6C4DC7

#6C4DC7 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.181 H 290.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6C4DC7
RGBrgb(108, 77, 199)
HSLhsl(255, 52%, 54%)
HSVhsv(255, 61%, 78%)
CMYKcmyk(45.7%, 61.3%, 0%, 22%)
CIE-LABlab(42.18, 42.30, -59.40)
CIE-LCHlch(42.18, 72.92, 305.46°)
OKLaboklab(51.95% 0.063 -0.1697)
OKLCHoklch(51.95% 0.181 290.4)
XYZxyz(19.1441, 12.6187, 55.4487)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DC7 #A8C74D
analogous
#4D6BC7 #6C4DC7 #A94DC7
triadic
#6C4DC7 #C76C4D #4DC76C
tetradic
#6C4DC7 #C74D6B #A8C74D #4DC7A9
square
#6C4DC7 #C74D6B #A8C74D #4DC7A9
split-complementary
#6C4DC7 #C7A94D #6BC74D
monochromatic
#392575 #5033A3 #6C4DC7 #927CD6 #B9AAE4

Accessibility & contrast

On white

5.96
#6C4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6C4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DC7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DC7#FFFFFF#000000##FFFFFF
##6C4DC71.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#506983
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c4dc7;
/* rgb */ color: rgb(108, 77, 199);
/* oklch */ color: oklch(52.0% 0.181 290.4);
Tailwind
colors: {
  custom: {
    50: '#9d80d9',
    500: '#6c4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #6c4dc7;
$custom-light: #9d80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4dc7",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 255.246,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51952,
    "c": 0.18105,
    "h": 290.4
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#6C4DC7
secondary
#C5D29E
accent
#DC4CB7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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