#6B41DC#6B41DC

#6B41DC is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.221 H 288.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#6B41DC
RGBrgb(107, 65, 220)
HSLhsl(256, 69%, 56%)
HSVhsv(256, 70%, 86%)
CMYKcmyk(51.4%, 70.5%, 0%, 13.7%)
CIE-LABlab(41.33, 54.52, -72.88)
CIE-LCHlch(41.33, 91.02, 306.80°)
OKLaboklab(51.82% 0.0706 -0.2093)
OKLCHoklch(51.82% 0.221 288.6)
XYZxyz(20.8682, 12.0727, 68.9270)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41DC #B2DC41
analogous
#4164DC #6B41DC #B841DC
triadic
#6B41DC #DC6B41 #41DC6B
tetradic
#6B41DC #DC4164 #B2DC41 #41DCB8
square
#6B41DC #DC4164 #B2DC41 #41DCB8
split-complementary
#6B41DC #DCB841 #64DC41
monochromatic
#381989 #4D23BD #6B41DC #9375E6 #BCA8EF

Accessibility & contrast

On white

6.15
#6B41DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#6B41DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41DC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41DC#FFFFFF#000000##FFFFFF
##6B41DC1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#416A8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b41dc;
/* rgb */ color: rgb(107, 65, 220);
/* oklch */ color: oklch(51.8% 0.221 288.6);
Tailwind
colors: {
  custom: {
    50: '#a079e8',
    500: '#6b41dc',
    950: '#000000',
  },
}
SCSS
$custom: #6b41dc;
$custom-light: #a079e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41dc",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 256.258,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51823,
    "c": 0.22093,
    "h": 288.6
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#6B41DC
secondary
#CBDD9C
accent
#EC3CBC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B41DC

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

Preview Lab → · Contrast checker → · Palette generator →

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