#6C4FBB#6C4FBB

#6C4FBB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.163 H 292.1°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6C4FBB
RGBrgb(108, 79, 187)
HSLhsl(256, 44%, 52%)
HSVhsv(256, 58%, 73%)
CMYKcmyk(42.2%, 57.8%, 0%, 26.7%)
CIE-LABlab(41.79, 37.74, -53.04)
CIE-LCHlch(41.79, 65.10, 305.43°)
OKLaboklab(51.4% 0.0612 -0.151)
OKLCHoklch(51.4% 0.163 292.1)
XYZxyz(17.9475, 12.3674, 48.4456)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4FBB #9EBB4F
analogous
#4F68BB #6C4FBB #A24FBB
triadic
#6C4FBB #BB6C4F #4FBB6C
tetradic
#6C4FBB #BB4F68 #9EBB4F #4FBBA2
square
#6C4FBB #BB4F68 #9EBB4F #4FBBA2
split-complementary
#6C4FBB #BBA24F #68BB4F
monochromatic
#392868 #513994 #6C4FBB #917BCC #B6A7DD

Accessibility & contrast

On white

6.05
#6C4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6C4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4FBB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4FBB#FFFFFF#000000##FFFFFF
##6C4FBB1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#1860B9
Tritanopia (blue-blind)
#56677D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6c4fbb;
/* rgb */ color: rgb(108, 79, 187);
/* oklch */ color: oklch(51.4% 0.163 292.1);
Tailwind
colors: {
  custom: {
    50: '#9b81d0',
    500: '#6c4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4fbb;
$custom-light: #9b81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4fbb",
  "rgb": {
    "r": 108,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 256.111,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.16294,
    "h": 292.1
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#6C4FBB
secondary
#BECA9B
accent
#D454B2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6C4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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