#6F41D6#6F41D6

#6F41D6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.7% C 0.214 H 291.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#6F41D6
RGBrgb(111, 65, 214)
HSLhsl(259, 65%, 55%)
HSVhsv(259, 70%, 84%)
CMYKcmyk(48.1%, 69.6%, 0%, 16.1%)
CIE-LABlab(41.24, 53.52, -69.58)
CIE-LCHlch(41.24, 87.78, 307.57°)
OKLaboklab(51.7% 0.0773 -0.1995)
OKLCHoklch(51.7% 0.214 291.2)
XYZxyz(20.5800, 12.0144, 64.8399)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41D6 #A8D641
analogous
#415ED6 #6F41D6 #B941D6
triadic
#6F41D6 #D66F41 #41D66F
tetradic
#6F41D6 #D6415E #A8D641 #41D6B9
square
#6F41D6 #D6415E #A8D641 #41D6B9
split-complementary
#6F41D6 #D6B941 #5ED641
monochromatic
#3B1C81 #5227B3 #6F41D6 #9573E1 #BBA6EC

Accessibility & contrast

On white

6.17
#6F41D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#6F41D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41D6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41D6#FFFFFF#000000##FFFFFF
##6F41D61.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#4E6787
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6f41d6;
/* rgb */ color: rgb(111, 65, 214);
/* oklch */ color: oklch(51.7% 0.214 291.2);
Tailwind
colors: {
  custom: {
    50: '#a179e4',
    500: '#6f41d6',
    950: '#000000',
  },
}
SCSS
$custom: #6f41d6;
$custom-light: #a179e4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41d6",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 258.523,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51699,
    "c": 0.21399,
    "h": 291.2
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#6F41D6
secondary
#C5D99A
accent
#E740B4
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6F41D6

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

Preview Lab → · Contrast checker → · Palette generator →

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