#6D41D3#6D41D3

#6D41D3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.211 H 290.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6D41D3
RGBrgb(109, 65, 211)
HSLhsl(258, 62%, 54%)
HSVhsv(258, 69%, 83%)
CMYKcmyk(48.3%, 69.2%, 0%, 17.3%)
CIE-LABlab(40.79, 52.37, -68.59)
CIE-LCHlch(40.79, 86.30, 307.36°)
OKLaboklab(51.26% 0.0751 -0.1967)
OKLCHoklch(51.26% 0.211 290.9)
XYZxyz(19.9515, 11.7342, 62.8291)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41D3 #A7D341
analogous
#415ED3 #6D41D3 #B641D3
triadic
#6D41D3 #D36D41 #41D36D
tetradic
#6D41D3 #D3415E #A7D341 #41D3B6
square
#6D41D3 #D3415E #A7D341 #41D3B6
split-complementary
#6D41D3 #D3B641 #5ED341
monochromatic
#3A1D7D #5128AE #6D41D3 #9373DF #B9A4EA

Accessibility & contrast

On white

6.27
#6D41D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6D41D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41D3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41D3#FFFFFF#000000##FFFFFF
##6D41D31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#4C6685
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d41d3;
/* rgb */ color: rgb(109, 65, 211);
/* oklch */ color: oklch(51.3% 0.211 290.9);
Tailwind
colors: {
  custom: {
    50: '#a079e2',
    500: '#6d41d3',
    950: '#000000',
  },
}
SCSS
$custom: #6d41d3;
$custom-light: #a079e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41d3",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 258.082,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51256,
    "c": 0.21054,
    "h": 290.9
  },
  "luminance": 0.11735
}

Semantic roles & 50–950 ramp

primary
#6D41D3
secondary
#C4D799
accent
#E542B4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #6D41D3

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

Preview Lab → · Contrast checker → · Palette generator →

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