#6C4BBF#6C4BBF

#6C4BBF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.174 H 292.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#6C4BBF
RGBrgb(108, 75, 191)
HSLhsl(257, 48%, 52%)
HSVhsv(257, 61%, 75%)
CMYKcmyk(43.5%, 60.7%, 0%, 25.1%)
CIE-LABlab(41.19, 41.18, -56.36)
CIE-LCHlch(41.19, 69.80, 306.15°)
OKLaboklab(51.04% 0.0657 -0.1608)
OKLCHoklch(51.04% 0.174 292.2)
XYZxyz(18.1018, 11.9813, 50.6390)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BBF #9EBF4B
analogous
#4B64BF #6C4BBF #A64BBF
triadic
#6C4BBF #BF6C4B #4BBF6C
tetradic
#6C4BBF #BF4B64 #9EBF4B #4BBFA6
square
#6C4BBF #BF4B64 #9EBF4B #4BBFA6
split-complementary
#6C4BBF #BFA64B #64BF4B
monochromatic
#39266A #513697 #6C4BBF #9178CF #B6A5DF

Accessibility & contrast

On white

6.18
#6C4BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6C4BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BBF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BBF#FFFFFF#000000##FFFFFF
##6C4BBF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#54657E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c4bbf;
/* rgb */ color: rgb(108, 75, 191);
/* oklch */ color: oklch(51.0% 0.174 292.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fd3',
    500: '#6c4bbf',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bbf;
$custom-light: #9c7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bbf",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 257.069,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51045,
    "c": 0.17369,
    "h": 292.2
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#6C4BBF
secondary
#BECC9A
accent
#D751B1
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6C4BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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