#6A41D6#6A41D6

#6A41D6 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.214 H 289.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#6A41D6
RGBrgb(106, 65, 214)
HSLhsl(257, 65%, 55%)
HSVhsv(257, 70%, 84%)
CMYKcmyk(50.5%, 69.6%, 0%, 16.1%)
CIE-LABlab(40.73, 52.70, -70.42)
CIE-LCHlch(40.73, 87.96, 306.81°)
OKLaboklab(51.22% 0.0703 -0.2022)
OKLCHoklch(51.22% 0.214 289.2)
XYZxyz(19.9682, 11.6989, 64.8113)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41D6 #ADD641
analogous
#4163D6 #6A41D6 #B441D6
triadic
#6A41D6 #D66A41 #41D66A
tetradic
#6A41D6 #D64163 #ADD641 #41D6B4
square
#6A41D6 #D64163 #ADD641 #41D6B4
split-complementary
#6A41D6 #D6B441 #63D641
monochromatic
#381C81 #4D27B3 #6A41D6 #9173E1 #B9A6EC

Accessibility & contrast

On white

6.29
#6A41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6A41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41D6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41D6#FFFFFF#000000##FFFFFF
##6A41D61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#005CD3
Tritanopia (blue-blind)
#436887
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a41d6;
/* rgb */ color: rgb(106, 65, 214);
/* oklch */ color: oklch(51.2% 0.214 289.2);
Tailwind
colors: {
  custom: {
    50: '#9e79e4',
    500: '#6a41d6',
    950: '#000000',
  },
}
SCSS
$custom: #6a41d6;
$custom-light: #9e79e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41d6",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 256.51,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.21406,
    "h": 289.2
  },
  "luminance": 0.117
}

Semantic roles & 50–950 ramp

primary
#6A41D6
secondary
#C8D99A
accent
#E740B9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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