#6C4CBF#6C4CBF

#6C4CBF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.172 H 292.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6C4CBF
RGBrgb(108, 76, 191)
HSLhsl(257, 47%, 52%)
HSVhsv(257, 60%, 75%)
CMYKcmyk(43.5%, 60.2%, 0%, 25.1%)
CIE-LABlab(41.40, 40.61, -56.01)
CIE-LCHlch(41.40, 69.18, 305.94°)
OKLaboklab(51.2% 0.0646 -0.1597)
OKLCHoklch(51.2% 0.172 292)
XYZxyz(18.1702, 12.1181, 50.6618)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4CBF #9FBF4C
analogous
#4C65BF #6C4CBF #A64CBF
triadic
#6C4CBF #BF6C4C #4CBF6C
tetradic
#6C4CBF #BF4C65 #9FBF4C #4CBFA6
square
#6C4CBF #BF4C65 #9FBF4C #4CBFA6
split-complementary
#6C4CBF #BFA64C #65BF4C
monochromatic
#39266B #513698 #6C4CBF #9179CF #B6A6DF

Accessibility & contrast

On white

6.13
#6C4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#6C4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4CBF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4CBF#FFFFFF#000000##FFFFFF
##6C4CBF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c4cbf;
/* rgb */ color: rgb(108, 76, 191);
/* oklch */ color: oklch(51.2% 0.172 292.0);
Tailwind
colors: {
  custom: {
    50: '#9c7fd3',
    500: '#6c4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #6c4cbf;
$custom-light: #9c7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4cbf",
  "rgb": {
    "r": 108,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 256.696,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.17231,
    "h": 292
  },
  "luminance": 0.12119
}

Semantic roles & 50–950 ramp

primary
#6C4CBF
secondary
#BFCC9A
accent
#D751B2
background
#FAF7FD
surface
#F3EEFA
border
#CDC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6C4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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