#6D41D1#6D41D1

#6D41D1 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.208 H 291.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#6D41D1
RGBrgb(109, 65, 209)
HSLhsl(258, 61%, 54%)
HSVhsv(258, 69%, 82%)
CMYKcmyk(47.8%, 68.9%, 0%, 18%)
CIE-LABlab(40.63, 51.82, -67.70)
CIE-LCHlch(40.63, 85.26, 307.43°)
OKLaboklab(51.09% 0.0754 -0.1941)
OKLCHoklch(51.09% 0.208 291.2)
XYZxyz(19.7023, 11.6345, 61.5168)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41D1 #A5D141
analogous
#415DD1 #6D41D1 #B541D1
triadic
#6D41D1 #D16D41 #41D16D
tetradic
#6D41D1 #D1415D #A5D141 #41D1B5
square
#6D41D1 #D1415D #A5D141 #41D1B5
split-complementary
#6D41D1 #D1B541 #5DD141
monochromatic
#3A1E7A #5129AB #6D41D1 #9372DD #B9A4E9

Accessibility & contrast

On white

6.31
#6D41D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6D41D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41D1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41D1#FFFFFF#000000##FFFFFF
##6D41D11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D5
Deuteranopia (green-blind)
#005DCE
Tritanopia (blue-blind)
#4D6584
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6d41d1;
/* rgb */ color: rgb(109, 65, 209);
/* oklch */ color: oklch(51.1% 0.208 291.2);
Tailwind
colors: {
  custom: {
    50: '#9f79e0',
    500: '#6d41d1',
    950: '#000000',
  },
}
SCSS
$custom: #6d41d1;
$custom-light: #9f79e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41d1",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 209
  },
  "hsl": {
    "h": 258.333,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.20823,
    "h": 291.2
  },
  "luminance": 0.11635
}

Semantic roles & 50–950 ramp

primary
#6D41D1
secondary
#C3D698
accent
#E444B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6D41D1

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

Preview Lab → · Contrast checker → · Palette generator →

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