#6C4BB2#6C4BB2

#6C4BB2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.157 H 294.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#6C4BB2
RGBrgb(108, 75, 178)
HSLhsl(259, 41%, 50%)
HSVhsv(259, 58%, 70%)
CMYKcmyk(39.3%, 57.9%, 0%, 30.2%)
CIE-LABlab(40.30, 37.55, -50.16)
CIE-LCHlch(40.30, 62.66, 306.82°)
OKLaboklab(50.12% 0.0661 -0.1425)
OKLCHoklch(50.12% 0.157 294.9)
XYZxyz(16.7342, 11.4343, 43.4362)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BB2 #91B24B
analogous
#4B5EB2 #6C4BB2 #9F4BB2
triadic
#6C4BB2 #B26C4B #4BB26C
tetradic
#6C4BB2 #B24B5E #91B24B #4BB29F
square
#6C4BB2 #B24B5E #91B24B #4BB29F
split-complementary
#6C4BB2 #B29F4B #5EB24B
monochromatic
#38275C #523987 #6C4BB2 #8F75C5 #B2A0D7

Accessibility & contrast

On white

6.39
#6C4BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#6C4BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BB2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BB2#FFFFFF#000000##FFFFFF
##6C4BB21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#205DB0
Tritanopia (blue-blind)
#5A6177
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6c4bb2;
/* rgb */ color: rgb(108, 75, 178);
/* oklch */ color: oklch(50.1% 0.157 294.9);
Tailwind
colors: {
  custom: {
    50: '#9a7eca',
    500: '#6c4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bb2;
$custom-light: #9a7eca;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bb2",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 259.223,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.15712,
    "h": 294.9
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#6C4BB2
secondary
#B5C495
accent
#D157AA
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #6C4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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