#6C4DCD#6C4DCD

#6C4DCD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.189 H 289.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6C4DCD
RGBrgb(108, 77, 205)
HSLhsl(255, 56%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(47.3%, 62.4%, 0%, 19.6%)
CIE-LABlab(42.62, 44.01, -62.16)
CIE-LCHlch(42.62, 76.17, 305.30°)
OKLaboklab(52.4% 0.0626 -0.1779)
OKLCHoklch(52.4% 0.189 289.4)
XYZxyz(19.8545, 12.9029, 59.1901)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DCD #AECD4D
analogous
#4D6ECD #6C4DCD #AC4DCD
triadic
#6C4DCD #CD6C4D #4DCD6C
tetradic
#6C4DCD #CD4D6E #AECD4D #4DCDAC
square
#6C4DCD #CD4D6E #AECD4D #4DCDAC
split-complementary
#6C4DCD #CDAC4D #6ECD4D
monochromatic
#39237D #4E30AC #6C4DCD #937DDA #BBADE8

Accessibility & contrast

On white

5.86
#6C4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6C4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DCD
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DCD#FFFFFF#000000##FFFFFF
##6C4DCD1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#4D6B86
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4dcd;
/* rgb */ color: rgb(108, 77, 205);
/* oklch */ color: oklch(52.4% 0.189 289.4);
Tailwind
colors: {
  custom: {
    50: '#9d80dd',
    500: '#6c4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #6c4dcd;
$custom-light: #9d80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4dcd",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 254.531,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.18856,
    "h": 289.4
  },
  "luminance": 0.12904
}

Semantic roles & 50–950 ramp

primary
#6C4DCD
secondary
#C9D6A0
accent
#DF48BB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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