#6B41B9#6B41B9

#6B41B9 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.180 H 295.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6B41B9
RGBrgb(107, 65, 185)
HSLhsl(261, 48%, 49%)
HSVhsv(261, 65%, 73%)
CMYKcmyk(42.2%, 64.9%, 0%, 27.5%)
CIE-LABlab(38.57, 44.89, -57.09)
CIE-LCHlch(38.57, 72.63, 308.18°)
OKLaboklab(48.98% 0.076 -0.163)
OKLCHoklch(48.98% 0.18 295)
XYZxyz(16.7083, 10.4088, 47.0183)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41B9 #8FB941
analogous
#4153B9 #6B41B9 #A741B9
triadic
#6B41B9 #B96B41 #41B96B
tetradic
#6B41B9 #B94153 #8FB941 #41B9A7
square
#6B41B9 #B94153 #8FB941 #41B9A7
split-complementary
#6B41B9 #B9A741 #53B941
monochromatic
#37215E #51318C #6B41B9 #8D6CCB #B099DB

Accessibility & contrast

On white

6.81
#6B41B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6B41B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41B9
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41B9#FFFFFF#000000##FFFFFF
##6B41B91.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#565D77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b41b9;
/* rgb */ color: rgb(107, 65, 185);
/* oklch */ color: oklch(49.0% 0.180 295.0);
Tailwind
colors: {
  custom: {
    50: '#9b78cf',
    500: '#6b41b9',
    950: '#000000',
  },
}
SCSS
$custom: #6b41b9;
$custom-light: #9b78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41b9",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 261,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48982,
    "c": 0.17981,
    "h": 295
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#6B41B9
secondary
#B3C78F
accent
#D850A8
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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