#6B41BB#6B41BB

#6B41BB is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.182 H 294.6°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6B41BB
RGBrgb(107, 65, 187)
HSLhsl(261, 48%, 49%)
HSVhsv(261, 65%, 73%)
CMYKcmyk(42.8%, 65.2%, 0%, 26.7%)
CIE-LABlab(38.71, 45.44, -58.03)
CIE-LCHlch(38.71, 73.70, 308.06°)
OKLaboklab(49.14% 0.0758 -0.1657)
OKLCHoklch(49.14% 0.182 294.6)
XYZxyz(16.9209, 10.4938, 48.1381)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41BB #91BB41
analogous
#4154BB #6B41BB #A841BB
triadic
#6B41BB #BB6B41 #41BB6B
tetradic
#6B41BB #BB4154 #91BB41 #41BBA8
square
#6B41BB #BB4154 #91BB41 #41BBA8
split-complementary
#6B41BB #BBA841 #54BB41
monochromatic
#372160 #51318E #6B41BB #8E6DCC #B19ADC

Accessibility & contrast

On white

6.78
#6B41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6B41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41BB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41BB#FFFFFF#000000##FFFFFF
##6B41BB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#555E78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b41bb;
/* rgb */ color: rgb(107, 65, 187);
/* oklch */ color: oklch(49.1% 0.182 294.6);
Tailwind
colors: {
  custom: {
    50: '#9b78d0',
    500: '#6b41bb',
    950: '#000000',
  },
}
SCSS
$custom: #6b41bb;
$custom-light: #9b78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41bb",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 260.656,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49135,
    "c": 0.18221,
    "h": 294.6
  },
  "luminance": 0.10494
}

Semantic roles & 50–950 ramp

primary
#6B41BB
secondary
#B5C890
accent
#D850A9
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6B41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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