#6D41D4#6D41D4

#6D41D4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.212 H 290.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6D41D4
RGBrgb(109, 65, 212)
HSLhsl(258, 63%, 54%)
HSVhsv(258, 69%, 83%)
CMYKcmyk(48.6%, 69.3%, 0%, 16.9%)
CIE-LABlab(40.87, 52.64, -69.03)
CIE-LCHlch(40.87, 86.82, 307.33°)
OKLaboklab(51.34% 0.0749 -0.198)
OKLCHoklch(51.34% 0.212 290.7)
XYZxyz(20.0773, 11.7845, 63.4914)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41D4 #A8D441
analogous
#415FD4 #6D41D4 #B641D4
triadic
#6D41D4 #D46D41 #41D46D
tetradic
#6D41D4 #D4415F #A8D441 #41D4B6
square
#6D41D4 #D4415F #A8D441 #41D4B6
split-complementary
#6D41D4 #D4B641 #5FD441
monochromatic
#3A1D7E #5128B0 #6D41D4 #9373DF #BAA5EB

Accessibility & contrast

On white

6.26
#6D41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6D41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41D4
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41D4#FFFFFF#000000##FFFFFF
##6D41D41.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#4B6786
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d41d4;
/* rgb */ color: rgb(109, 65, 212);
/* oklch */ color: oklch(51.3% 0.212 290.7);
Tailwind
colors: {
  custom: {
    50: '#a079e2',
    500: '#6d41d4',
    950: '#000000',
  },
}
SCSS
$custom: #6d41d4;
$custom-light: #a079e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41d4",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 257.959,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51339,
    "c": 0.21169,
    "h": 290.7
  },
  "luminance": 0.11785
}

Semantic roles & 50–950 ramp

primary
#6D41D4
secondary
#C5D899
accent
#E642B5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6D41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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