#6B4DB9#6B4DB9

#6B4DB9 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.163 H 292.4°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6B4DB9
RGBrgb(107, 77, 185)
HSLhsl(257, 44%, 51%)
HSVhsv(257, 58%, 73%)
CMYKcmyk(42.2%, 58.4%, 0%, 27.5%)
CIE-LABlab(41.11, 38.12, -52.97)
CIE-LCHlch(41.11, 65.26, 305.74°)
OKLaboklab(50.84% 0.0623 -0.1509)
OKLCHoklch(50.84% 0.163 292.4)
XYZxyz(17.4719, 11.9358, 47.2728)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4DB9 #9BB94D
analogous
#4D65B9 #6B4DB9 #A14DB9
triadic
#6B4DB9 #B96B4D #4DB96B
tetradic
#6B4DB9 #B94D65 #9BB94D #4DB9A1
square
#6B4DB9 #B94D65 #9BB94D #4DB9A1
split-complementary
#6B4DB9 #B9A14D #65B94D
monochromatic
#382764 #513990 #6B4DB9 #9079CA #B4A5DC

Accessibility & contrast

On white

6.20
#6B4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6B4DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4DB9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4DB9#FFFFFF#000000##FFFFFF
##6B4DB91.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0462BD
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#56657B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b4db9;
/* rgb */ color: rgb(107, 77, 185);
/* oklch */ color: oklch(50.8% 0.163 292.4);
Tailwind
colors: {
  custom: {
    50: '#9a80cf',
    500: '#6b4db9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4db9;
$custom-light: #9a80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4db9",
  "rgb": {
    "r": 107,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 256.667,
    "s": 43.548,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.16319,
    "h": 292.4
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#6B4DB9
secondary
#BBC999
accent
#D355B0
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6B4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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