#6D41D5#6D41D5

#6D41D5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.213 H 290.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#6D41D5
RGBrgb(109, 65, 213)
HSLhsl(258, 64%, 55%)
HSVhsv(258, 69%, 84%)
CMYKcmyk(48.8%, 69.5%, 0%, 16.5%)
CIE-LABlab(40.95, 52.92, -69.48)
CIE-LCHlch(40.95, 87.33, 307.29°)
OKLaboklab(51.42% 0.0747 -0.1993)
OKLCHoklch(51.42% 0.213 290.6)
XYZxyz(20.2038, 11.8351, 64.1578)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41D5 #A9D541
analogous
#415FD5 #6D41D5 #B741D5
triadic
#6D41D5 #D56D41 #41D56D
tetradic
#6D41D5 #D5415F #A9D541 #41D5B7
square
#6D41D5 #D5415F #A9D541 #41D5B7
split-complementary
#6D41D5 #D5B741 #5FD541
monochromatic
#3A1C7F #5027B2 #6D41D5 #9473E0 #BAA5EB

Accessibility & contrast

On white

6.24
#6D41D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6D41D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41D5
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41D5#FFFFFF#000000##FFFFFF
##6D41D51.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#005DD2
Tritanopia (blue-blind)
#4A6786
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6d41d5;
/* rgb */ color: rgb(109, 65, 213);
/* oklch */ color: oklch(51.4% 0.213 290.6);
Tailwind
colors: {
  custom: {
    50: '#a079e3',
    500: '#6d41d5',
    950: '#000000',
  },
}
SCSS
$custom: #6d41d5;
$custom-light: #a079e3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41d5",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 213
  },
  "hsl": {
    "h": 257.838,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51422,
    "c": 0.21285,
    "h": 290.6
  },
  "luminance": 0.11836
}

Semantic roles & 50–950 ramp

primary
#6D41D5
secondary
#C6D89A
accent
#E741B6
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6D41D5

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

Preview Lab → · Contrast checker → · Palette generator →

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