#6B41DB#6B41DB

#6B41DB is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.220 H 288.8°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6B41DB
RGBrgb(107, 65, 219)
HSLhsl(256, 68%, 56%)
HSVhsv(256, 70%, 86%)
CMYKcmyk(51.1%, 70.3%, 0%, 14.1%)
CIE-LABlab(41.25, 54.24, -72.44)
CIE-LCHlch(41.25, 90.50, 306.82°)
OKLaboklab(51.74% 0.0708 -0.2081)
OKLCHoklch(51.74% 0.22 288.8)
XYZxyz(20.7362, 12.0199, 68.2316)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41DB #B1DB41
analogous
#4164DB #6B41DB #B841DB
triadic
#6B41DB #DB6B41 #41DB6B
tetradic
#6B41DB #DB4164 #B1DB41 #41DBB8
square
#6B41DB #DB4164 #B1DB41 #41DBB8
split-complementary
#6B41DB #DBB841 #64DB41
monochromatic
#381A88 #4D23BB #6B41DB #9374E5 #BBA8EE

Accessibility & contrast

On white

6.17
#6B41DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6B41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41DB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41DB#FFFFFF#000000##FFFFFF
##6B41DB1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#42698A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b41db;
/* rgb */ color: rgb(107, 65, 219);
/* oklch */ color: oklch(51.7% 0.220 288.8);
Tailwind
colors: {
  custom: {
    50: '#9f79e7',
    500: '#6b41db',
    950: '#000000',
  },
}
SCSS
$custom: #6b41db;
$custom-light: #9f79e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41db",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 256.364,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51738,
    "c": 0.21979,
    "h": 288.8
  },
  "luminance": 0.12021
}

Semantic roles & 50–950 ramp

primary
#6B41DB
secondary
#CADC9C
accent
#EB3DBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6B41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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