#6F41BE#6F41BE

#6F41BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.186 H 295.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#6F41BE
RGBrgb(111, 65, 190)
HSLhsl(262, 49%, 50%)
HSVhsv(262, 66%, 75%)
CMYKcmyk(41.6%, 65.8%, 0%, 25.5%)
CIE-LABlab(39.37, 47.05, -58.70)
CIE-LCHlch(39.37, 75.23, 308.72°)
OKLaboklab(49.78% 0.081 -0.1675)
OKLCHoklch(49.78% 0.186 295.8)
XYZxyz(17.7377, 10.8774, 49.8702)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41BE #90BE41
analogous
#4151BE #6F41BE #AE41BE
triadic
#6F41BE #BE6F41 #41BE6F
tetradic
#6F41BE #BE4151 #90BE41 #41BEAE
square
#6F41BE #BE4151 #90BE41 #41BEAE
split-complementary
#6F41BE #BEAE41 #51BE41
monochromatic
#3A2263 #543190 #6F41BE #926FCE #B49CDD

Accessibility & contrast

On white

6.61
#6F41BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6F41BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41BE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41BE#FFFFFF#000000##FFFFFF
##6F41BE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#5B5E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6f41be;
/* rgb */ color: rgb(111, 65, 190);
/* oklch */ color: oklch(49.8% 0.186 295.8);
Tailwind
colors: {
  custom: {
    50: '#9e78d2',
    500: '#6f41be',
    950: '#000000',
  },
}
SCSS
$custom: #6f41be;
$custom-light: #9e78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41be",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 262.08,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.49781,
    "c": 0.1861,
    "h": 295.8
  },
  "luminance": 0.10878
}

Semantic roles & 50–950 ramp

primary
#6F41BE
secondary
#B5C991
accent
#D94FA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6F41BE

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

Preview Lab → · Contrast checker → · Palette generator →

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