#6F41D4#6F41D4

#6F41D4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.212 H 291.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#6F41D4
RGBrgb(111, 65, 212)
HSLhsl(259, 63%, 54%)
HSVhsv(259, 69%, 83%)
CMYKcmyk(47.6%, 69.3%, 0%, 16.9%)
CIE-LABlab(41.08, 52.98, -68.69)
CIE-LCHlch(41.08, 86.75, 307.64°)
OKLaboklab(51.53% 0.0777 -0.1969)
OKLCHoklch(51.53% 0.212 291.5)
XYZxyz(20.3262, 11.9128, 63.5030)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41D4 #A6D441
analogous
#415CD4 #6F41D4 #B941D4
triadic
#6F41D4 #D46F41 #41D46F
tetradic
#6F41D4 #D4415C #A6D441 #41D4B9
square
#6F41D4 #D4415C #A6D441 #41D4B9
split-complementary
#6F41D4 #D4B941 #5CD441
monochromatic
#3B1D7E #5228B0 #6F41D4 #9573DF #BBA5EB

Accessibility & contrast

On white

6.21
#6F41D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6F41D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41D4
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41D4#FFFFFF#000000##FFFFFF
##6F41D41.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#4F6686
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f41d4;
/* rgb */ color: rgb(111, 65, 212);
/* oklch */ color: oklch(51.5% 0.212 291.5);
Tailwind
colors: {
  custom: {
    50: '#a179e2',
    500: '#6f41d4',
    950: '#000000',
  },
}
SCSS
$custom: #6f41d4;
$custom-light: #a179e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41d4",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 212
  },
  "hsl": {
    "h": 258.776,
    "s": 63.09,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.2117,
    "h": 291.5
  },
  "luminance": 0.11914
}

Semantic roles & 50–950 ramp

primary
#6F41D4
secondary
#C4D899
accent
#E642B3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #6F41D4

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

Preview Lab → · Contrast checker → · Palette generator →

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