#6D41C7#6D41C7

#6D41C7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.3% C 0.197 H 293.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6D41C7
RGBrgb(109, 65, 199)
HSLhsl(260, 54%, 52%)
HSVhsv(260, 67%, 78%)
CMYKcmyk(45.2%, 67.3%, 0%, 22%)
CIE-LABlab(39.84, 49.09, -63.20)
CIE-LCHlch(39.84, 80.02, 307.84°)
OKLaboklab(50.28% 0.077 -0.1809)
OKLCHoklch(50.28% 0.197 293.1)
XYZxyz(18.5029, 11.1548, 55.1999)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D41C7 #9BC741
analogous
#4158C7 #6D41C7 #B041C7
triadic
#6D41C7 #C76D41 #41C76D
tetradic
#6D41C7 #C74158 #9BC741 #41C7B0
square
#6D41C7 #C74158 #9BC741 #41C7B0
split-complementary
#6D41C7 #C7B041 #58C741
monochromatic
#3A206D #522E9D #6D41C7 #9170D5 #B6A0E3

Accessibility & contrast

On white

6.50
#6D41C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6D41C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D41C7
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D41C7#FFFFFF#000000##FFFFFF
##6D41C71.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#53627F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6d41c7;
/* rgb */ color: rgb(109, 65, 199);
/* oklch */ color: oklch(50.3% 0.197 293.1);
Tailwind
colors: {
  custom: {
    50: '#9e79d9',
    500: '#6d41c7',
    950: '#000000',
  },
}
SCSS
$custom: #6d41c7;
$custom-light: #9e79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6d41c7",
  "rgb": {
    "r": 109,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 259.701,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.19658,
    "h": 293.1
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#6D41C7
secondary
#BCCF95
accent
#DE4AAD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6D41C7

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

Preview Lab → · Contrast checker → · Palette generator →

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