#6C4BBB#6C4BBB

#6C4BBB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.169 H 293.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6C4BBB
RGBrgb(108, 75, 187)
HSLhsl(258, 45%, 51%)
HSVhsv(258, 60%, 73%)
CMYKcmyk(42.2%, 59.9%, 0%, 26.7%)
CIE-LABlab(40.91, 40.06, -54.47)
CIE-LCHlch(40.91, 67.61, 306.33°)
OKLaboklab(50.75% 0.0659 -0.1552)
OKLCHoklch(50.75% 0.169 293)
XYZxyz(17.6676, 11.8077, 48.3523)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C4BBB #9ABB4B
analogous
#4B62BB #6C4BBB #A44BBB
triadic
#6C4BBB #BB6C4B #4BBB6C
tetradic
#6C4BBB #BB4B62 #9ABB4B #4BBBA4
square
#6C4BBB #BB4B62 #9ABB4B #4BBBA4
split-complementary
#6C4BBB #BBA44B #62BB4B
monochromatic
#392665 #523792 #6C4BBB #9077CC #B5A4DD

Accessibility & contrast

On white

6.25
#6C4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6C4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6C4BBB
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C4BBB#FFFFFF#000000##FFFFFF
##6C4BBB1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#085EB9
Tritanopia (blue-blind)
#56647C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6c4bbb;
/* rgb */ color: rgb(108, 75, 187);
/* oklch */ color: oklch(50.8% 0.169 293.0);
Tailwind
colors: {
  custom: {
    50: '#9b7fd0',
    500: '#6c4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #6c4bbb;
$custom-light: #9b7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c4bbb",
  "rgb": {
    "r": 108,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 257.679,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50754,
    "c": 0.16863,
    "h": 293
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#6C4BBB
secondary
#BBCA98
accent
#D553AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6C4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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