#6B41BA#6B41BA

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

Color values

HEX#6B41BA
RGBrgb(107, 65, 186)
HSLhsl(261, 48%, 49%)
HSVhsv(261, 65%, 73%)
CMYKcmyk(42.5%, 65.1%, 0%, 27.1%)
CIE-LABlab(38.64, 45.16, -57.56)
CIE-LCHlch(38.64, 73.16, 308.12°)
OKLaboklab(49.06% 0.0759 -0.1643)
OKLCHoklch(49.06% 0.181 294.8)
XYZxyz(16.8143, 10.4512, 47.5762)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41BA #90BA41
analogous
#4154BA #6B41BA #A841BA
triadic
#6B41BA #BA6B41 #41BA6B
tetradic
#6B41BA #BA4154 #90BA41 #41BAA8
square
#6B41BA #BA4154 #90BA41 #41BAA8
split-complementary
#6B41BA #BAA841 #54BA41
monochromatic
#37215F #51318D #6B41BA #8E6CCC #B19ADC

Accessibility & contrast

On white

6.80
#6B41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6B41BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41BA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41BA#FFFFFF#000000##FFFFFF
##6B41BA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#565D78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6b41ba;
/* rgb */ color: rgb(107, 65, 186);
/* oklch */ color: oklch(49.1% 0.181 294.8);
Tailwind
colors: {
  custom: {
    50: '#9b78d0',
    500: '#6b41ba',
    950: '#000000',
  },
}
SCSS
$custom: #6b41ba;
$custom-light: #9b78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41ba",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 260.826,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.18101,
    "h": 294.8
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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