#6C4BD3#6C4BD3

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

Color values

HEX#6C4BD3
RGBrgb(108, 75, 211)
HSLhsl(255, 61%, 56%)
HSVhsv(255, 64%, 83%)
CMYKcmyk(48.8%, 64.5%, 0%, 17.3%)
CIE-LABlab(42.65, 46.85, -65.57)
CIE-LCHlch(42.65, 80.59, 305.54°)
OKLaboklab(52.57% 0.0641 -0.1879)
OKLCHoklch(52.57% 0.199 288.8)
XYZxyz(20.4549, 12.9226, 63.0319)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BD3 #B2D34B
analogous
#4B6ED3 #6C4BD3 #B04BD3
triadic
#6C4BD3 #D36C4B #4BD36C
tetradic
#6C4BD3 #D34B6E #B2D34B #4BD3B0
square
#6C4BD3 #D34B6E #B2D34B #4BD3B0
split-complementary
#6C4BD3 #D3B04B #6ED34B
monochromatic
#382083 #4D2CB5 #6C4BD3 #947CDF #BCADEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6C4BD3#FFFFFF#000000##FFFFFF
##6C4BD31.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)
#0068D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#496C88
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6c4bd3;
/* rgb */ color: rgb(108, 75, 211);
/* oklch */ color: oklch(52.6% 0.199 288.8);
Tailwind
colors: {
  custom: {
    50: '#9e7fe1',
    500: '#6c4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bd3;
$custom-light: #9e7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bd3",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 254.559,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52566,
    "c": 0.19852,
    "h": 288.8
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#6C4BD3
secondary
#CBD9A1
accent
#E444BD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6C4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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