#6B4CB9#6B4CB9

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

Color values

HEX#6B4CB9
RGBrgb(107, 76, 185)
HSLhsl(257, 44%, 51%)
HSVhsv(257, 59%, 73%)
CMYKcmyk(42.2%, 58.9%, 0%, 27.5%)
CIE-LABlab(40.89, 38.70, -53.33)
CIE-LCHlch(40.89, 65.89, 305.97°)
OKLaboklab(50.67% 0.0634 -0.1519)
OKLCHoklch(50.67% 0.165 292.7)
XYZxyz(17.4024, 11.7970, 47.2497)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CB9 #9AB94C
analogous
#4C63B9 #6B4CB9 #A14CB9
triadic
#6B4CB9 #B96B4C #4CB96B
tetradic
#6B4CB9 #B94C63 #9AB94C #4CB9A1
square
#6B4CB9 #B94C63 #9AB94C #4CB9A1
split-complementary
#6B4CB9 #B9A14C #63B94C
monochromatic
#382764 #513890 #6B4CB9 #8F78CA #B4A4DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B4CB9#FFFFFF#000000##FFFFFF
##6B4CB91.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)
#0062BD
Deuteranopia (green-blind)
#115EB7
Tritanopia (blue-blind)
#56647B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b4cb9;
/* rgb */ color: rgb(107, 76, 185);
/* oklch */ color: oklch(50.7% 0.165 292.7);
Tailwind
colors: {
  custom: {
    50: '#9b7fcf',
    500: '#6b4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cb9;
$custom-light: #9b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cb9",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 257.064,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.16462,
    "h": 292.7
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#6B4CB9
secondary
#BBC898
accent
#D454AF
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0A14
muted
#7E7C82

Preview Lab

Preview with #6B4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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