#6F41BB#6F41BB

#6F41BB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.6% C 0.183 H 296.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#6F41BB
RGBrgb(111, 65, 187)
HSLhsl(263, 48%, 49%)
HSVhsv(263, 65%, 73%)
CMYKcmyk(40.6%, 65.2%, 0%, 26.7%)
CIE-LABlab(39.15, 46.25, -57.30)
CIE-LCHlch(39.15, 73.63, 308.91°)
OKLaboklab(49.55% 0.0813 -0.1634)
OKLCHoklch(49.55% 0.183 296.5)
XYZxyz(17.4131, 10.7476, 48.1611)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41BB #8DBB41
analogous
#4150BB #6F41BB #AC41BB
triadic
#6F41BB #BB6F41 #41BB6F
tetradic
#6F41BB #BB4150 #8DBB41 #41BBAC
square
#6F41BB #BB4150 #8DBB41 #41BBAC
split-complementary
#6F41BB #BBAC41 #50BB41
monochromatic
#392160 #54318E #6F41BB #916DCC #B39ADC

Accessibility & contrast

On white

6.67
#6F41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#6F41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41BB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41BB#FFFFFF#000000##FFFFFF
##6F41BB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#5C5D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f41bb;
/* rgb */ color: rgb(111, 65, 187);
/* oklch */ color: oklch(49.6% 0.183 296.5);
Tailwind
colors: {
  custom: {
    50: '#9e78d0',
    500: '#6f41bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f41bb;
$custom-light: #9e78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41bb",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 262.623,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49552,
    "c": 0.18254,
    "h": 296.5
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#6F41BB
secondary
#B3C890
accent
#D850A5
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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