#6C41DB#6C41DB

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

Color values

HEX#6C41DB
RGBrgb(108, 65, 219)
HSLhsl(257, 68%, 56%)
HSVhsv(257, 70%, 86%)
CMYKcmyk(50.7%, 70.3%, 0%, 14.1%)
CIE-LABlab(41.35, 54.40, -72.28)
CIE-LCHlch(41.35, 90.46, 306.97°)
OKLaboklab(51.83% 0.0722 -0.2076)
OKLCHoklch(51.83% 0.22 289.2)
XYZxyz(20.8571, 12.0823, 68.2372)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C41DB #B0DB41
analogous
#4163DB #6C41DB #B941DB
triadic
#6C41DB #DB6C41 #41DB6C
tetradic
#6C41DB #DB4163 #B0DB41 #41DBB9
square
#6C41DB #DB4163 #B0DB41 #41DBB9
split-complementary
#6C41DB #DBB941 #63DB41
monochromatic
#381A88 #4E23BB #6C41DB #9474E5 #BCA8EE

Accessibility & contrast

On white

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

On black

3.42
#6C41DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6C41DB#FFFFFF#000000##FFFFFF
##6C41DB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#44698A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6c41db;
/* rgb */ color: rgb(108, 65, 219);
/* oklch */ color: oklch(51.8% 0.220 289.2);
Tailwind
colors: {
  custom: {
    50: '#a079e7',
    500: '#6c41db',
    950: '#000000',
  },
}
SCSS
$custom: #6c41db;
$custom-light: #a079e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6c41db",
  "rgb": {
    "r": 108,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 256.753,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.21976,
    "h": 289.2
  },
  "luminance": 0.12083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6C41DB

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

Preview Lab → · Contrast checker → · Palette generator →

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