#6C4ACB#6C4ACB

#6C4ACB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.190 H 290.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#6C4ACB
RGBrgb(108, 74, 203)
HSLhsl(256, 55%, 54%)
HSVhsv(256, 64%, 80%)
CMYKcmyk(46.8%, 63.5%, 0%, 20.4%)
CIE-LABlab(41.84, 45.13, -62.27)
CIE-LCHlch(41.84, 76.90, 305.93°)
OKLaboklab(51.79% 0.0659 -0.1782)
OKLCHoklch(51.79% 0.19 290.3)
XYZxyz(19.4096, 12.3968, 57.8585)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4ACB #A9CB4A
analogous
#4A69CB #6C4ACB #AD4ACB
triadic
#6C4ACB #CB6C4A #4ACB6C
tetradic
#6C4ACB #CB4A69 #A9CB4A #4ACBAD
square
#6C4ACB #CB4A69 #A9CB4A #4ACBAD
split-complementary
#6C4ACB #CBAD4A #69CB4A
monochromatic
#392378 #5030A8 #6C4ACB #937AD9 #B9A9E6

Accessibility & contrast

On white

6.04
#6C4ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6C4ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4ACB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4ACB#FFFFFF#000000##FFFFFF
##6C4ACB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#4E6984
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c4acb;
/* rgb */ color: rgb(108, 74, 203);
/* oklch */ color: oklch(51.8% 0.190 290.3);
Tailwind
colors: {
  custom: {
    50: '#9d7edc',
    500: '#6c4acb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4acb;
$custom-light: #9d7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4acb",
  "rgb": {
    "r": 108,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 255.814,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51794,
    "c": 0.18998,
    "h": 290.3
  },
  "luminance": 0.12398
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C4ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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