#6D41BB#6D41BB

#6D41BB is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.182 H 295.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6D41BB
RGBrgb(109, 65, 187)
HSLhsl(262, 48%, 49%)
HSVhsv(262, 65%, 73%)
CMYKcmyk(41.7%, 65.2%, 0%, 26.7%)
CIE-LABlab(38.93, 45.84, -57.66)
CIE-LCHlch(38.93, 73.66, 308.49°)
OKLaboklab(49.34% 0.0786 -0.1646)
OKLCHoklch(49.34% 0.182 295.5)
XYZxyz(17.1642, 10.6193, 48.1495)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41BB #8FBB41
analogous
#4152BB #6D41BB #AA41BB
triadic
#6D41BB #BB6D41 #41BB6D
tetradic
#6D41BB #BB4152 #8FBB41 #41BBAA
square
#6D41BB #BB4152 #8FBB41 #41BBAA
split-complementary
#6D41BB #BBAA41 #52BB41
monochromatic
#382160 #53318E #6D41BB #8F6DCC #B29ADC

Accessibility & contrast

On white

6.72
#6D41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6D41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41BB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41BB#FFFFFF#000000##FFFFFF
##6D41BB1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#595D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6d41bb;
/* rgb */ color: rgb(109, 65, 187);
/* oklch */ color: oklch(49.3% 0.182 295.5);
Tailwind
colors: {
  custom: {
    50: '#9d78d0',
    500: '#6d41bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d41bb;
$custom-light: #9d78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41bb",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 261.639,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.18236,
    "h": 295.5
  },
  "luminance": 0.1062
}

Semantic roles & 50–950 ramp

primary
#6D41BB
secondary
#B4C890
accent
#D850A7
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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