#6C4DCB#6C4DCB

#6C4DCB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.186 H 289.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6C4DCB
RGBrgb(108, 77, 203)
HSLhsl(255, 55%, 55%)
HSVhsv(255, 62%, 80%)
CMYKcmyk(46.8%, 62.1%, 0%, 20.4%)
CIE-LABlab(42.47, 43.44, -61.25)
CIE-LCHlch(42.47, 75.09, 305.35°)
OKLaboklab(52.25% 0.0628 -0.1752)
OKLCHoklch(52.25% 0.186 289.7)
XYZxyz(19.6146, 12.8069, 57.9268)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4DCB #ACCB4D
analogous
#4D6DCB #6C4DCB #AB4DCB
triadic
#6C4DCB #CB6C4D #4DCB6C
tetradic
#6C4DCB #CB4D6D #ACCB4D #4DCBAB
square
#6C4DCB #CB4D6D #ACCB4D #4DCBAB
split-complementary
#6C4DCB #CBAB4D #6DCB4D
monochromatic
#39247A #4F31A9 #6C4DCB #937CD9 #BAACE7

Accessibility & contrast

On white

5.90
#6C4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6C4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4DCB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4DCB#FFFFFF#000000##FFFFFF
##6C4DCB1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#4E6A85
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6c4dcb;
/* rgb */ color: rgb(108, 77, 203);
/* oklch */ color: oklch(52.3% 0.186 289.7);
Tailwind
colors: {
  custom: {
    50: '#9d80dc',
    500: '#6c4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4dcb;
$custom-light: #9d80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4dcb",
  "rgb": {
    "r": 108,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 254.762,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52252,
    "c": 0.18607,
    "h": 289.7
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#6C4DCB
secondary
#C7D49F
accent
#DE4ABA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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