#6D41BA#6D41BA

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

Color values

HEX#6D41BA
RGBrgb(109, 65, 186)
HSLhsl(262, 48%, 49%)
HSVhsv(262, 65%, 73%)
CMYKcmyk(41.4%, 65.1%, 0%, 27.1%)
CIE-LABlab(38.86, 45.57, -57.19)
CIE-LCHlch(38.86, 73.13, 308.55°)
OKLaboklab(49.27% 0.0787 -0.1632)
OKLCHoklch(49.27% 0.181 295.7)
XYZxyz(17.0576, 10.5766, 47.5876)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41BA #8EBA41
analogous
#4152BA #6D41BA #AA41BA
triadic
#6D41BA #BA6D41 #41BA6D
tetradic
#6D41BA #BA4152 #8EBA41 #41BAAA
square
#6D41BA #BA4152 #8EBA41 #41BAAA
split-complementary
#6D41BA #BAAA41 #52BA41
monochromatic
#38215F #52318D #6D41BA #8F6CCC #B29ADC

Accessibility & contrast

On white

6.74
#6D41BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6D41BA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41BA#FFFFFF#000000##FFFFFF
##6D41BA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#595D78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d41ba;
/* rgb */ color: rgb(109, 65, 186);
/* oklch */ color: oklch(49.3% 0.181 295.7);
Tailwind
colors: {
  custom: {
    50: '#9d78d0',
    500: '#6d41ba',
    950: '#000000',
  },
}
SCSS
$custom: #6d41ba;
$custom-light: #9d78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41ba",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 261.818,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.18118,
    "h": 295.7
  },
  "luminance": 0.10577
}

Semantic roles & 50–950 ramp

primary
#6D41BA
secondary
#B3C88F
accent
#D850A6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6D41BA

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

Preview Lab → · Contrast checker → · Palette generator →

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