#6B41D9#6B41D9

#6B41D9 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.217 H 289.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6B41D9
RGBrgb(107, 65, 217)
HSLhsl(257, 67%, 55%)
HSVhsv(257, 70%, 85%)
CMYKcmyk(50.7%, 70%, 0%, 14.9%)
CIE-LABlab(41.08, 53.69, -71.57)
CIE-LCHlch(41.08, 89.47, 306.88°)
OKLaboklab(51.57% 0.0712 -0.2055)
OKLCHoklch(51.57% 0.217 289.1)
XYZxyz(20.4745, 11.9152, 66.8532)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41D9 #AFD941
analogous
#4163D9 #6B41D9 #B741D9
triadic
#6B41D9 #D96B41 #41D96B
tetradic
#6B41D9 #D94163 #AFD941 #41D9B7
square
#6B41D9 #D94163 #AFD941 #41D9B7
split-complementary
#6B41D9 #D9B741 #63D941
monochromatic
#381B85 #4D25B8 #6B41D9 #9374E3 #BAA7ED

Accessibility & contrast

On white

6.21
#6B41D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6B41D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41D9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41D9#FFFFFF#000000##FFFFFF
##6B41D91.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#436988
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b41d9;
/* rgb */ color: rgb(107, 65, 217);
/* oklch */ color: oklch(51.6% 0.217 289.1);
Tailwind
colors: {
  custom: {
    50: '#9f79e6',
    500: '#6b41d9',
    950: '#000000',
  },
}
SCSS
$custom: #6b41d9;
$custom-light: #9f79e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41d9",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 256.579,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51568,
    "c": 0.21749,
    "h": 289.1
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#6B41D9
secondary
#C9DB9B
accent
#EA3EBA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B41D9

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

Preview Lab → · Contrast checker → · Palette generator →

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