#6B5199#6B5199

#6B5199 is a mid, moderate violet. Relative luminance 0.113; OKLCH L 49.5% C 0.114 H 298.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#6B5199
RGBrgb(107, 81, 153)
HSLhsl(262, 31%, 46%)
HSVhsv(262, 47%, 60%)
CMYKcmyk(30.1%, 47.1%, 0%, 40%)
CIE-LABlab(40.10, 26.91, -35.61)
CIE-LCHlch(40.10, 44.63, 307.09°)
OKLaboklab(49.46% 0.055 -0.0999)
OKLCHoklch(49.46% 0.114 298.8)
XYZxyz(14.7542, 11.3104, 31.5366)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B5199 #7F9951
analogous
#515B99 #6B5199 #8F5199
triadic
#6B5199 #996B51 #51996B
tetradic
#6B5199 #99515B #7F9951 #51998F
square
#6B5199 #99515B #7F9951 #51998F
split-complementary
#6B5199 #998F51 #5B9951
monochromatic
#332749 #4F3C71 #6B5199 #8A73B5 #AC9BCA

Accessibility & contrast

On white

6.44
#6B5199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#6B5199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B5199
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B5199#FFFFFF#000000##FFFFFF
##6B51991.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9C
Deuteranopia (green-blind)
#415E97
Tritanopia (blue-blind)
#625E6D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6b5199;
/* rgb */ color: rgb(107, 81, 153);
/* oklch */ color: oklch(49.5% 0.114 298.8);
Tailwind
colors: {
  custom: {
    50: '#9782b7',
    500: '#6b5199',
    950: '#000000',
  },
}
SCSS
$custom: #6b5199;
$custom-light: #9782b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b5199",
  "rgb": {
    "r": 107,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 261.667,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.11409,
    "h": 298.8
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#6B5199
secondary
#A8B78F
accent
#C761A2
background
#F9F8FB
surface
#F2EFF6
border
#CCCAD0
text
#0E0A11
muted
#7E7C80

Preview Lab

Preview with #6B5199

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

Preview Lab → · Contrast checker → · Palette generator →

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