#6D41C6#6D41C6

#6D41C6 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.195 H 293.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6D41C6
RGBrgb(109, 65, 198)
HSLhsl(260, 54%, 52%)
HSVhsv(260, 67%, 78%)
CMYKcmyk(44.9%, 67.2%, 0%, 22.4%)
CIE-LABlab(39.76, 48.82, -62.74)
CIE-LCHlch(39.76, 79.50, 307.89°)
OKLaboklab(50.2% 0.0772 -0.1795)
OKLCHoklch(50.2% 0.195 293.3)
XYZxyz(18.3872, 11.1085, 54.5905)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41C6 #9AC641
analogous
#4158C6 #6D41C6 #B041C6
triadic
#6D41C6 #C66D41 #41C66D
tetradic
#6D41C6 #C64158 #9AC641 #41C6B0
square
#6D41C6 #C64158 #9AC641 #41C6B0
split-complementary
#6D41C6 #C6B041 #58C641
monochromatic
#39206C #532F9B #6D41C6 #9170D4 #B59FE2

Accessibility & contrast

On white

6.52
#6D41C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6D41C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41C6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41C6#FFFFFF#000000##FFFFFF
##6D41C61.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#53617E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d41c6;
/* rgb */ color: rgb(109, 65, 198);
/* oklch */ color: oklch(50.2% 0.195 293.3);
Tailwind
colors: {
  custom: {
    50: '#9e79d8',
    500: '#6d41c6',
    950: '#000000',
  },
}
SCSS
$custom: #6d41c6;
$custom-light: #9e79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41c6",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 198
  },
  "hsl": {
    "h": 259.85,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.1954,
    "h": 293.3
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#6D41C6
secondary
#BBCF94
accent
#DD4BAD
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D41C6

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

Preview Lab → · Contrast checker → · Palette generator →

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