#6F41BC#6F41BC

#6F41BC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.184 H 296.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#6F41BC
RGBrgb(111, 65, 188)
HSLhsl(262, 49%, 50%)
HSVhsv(262, 65%, 74%)
CMYKcmyk(41%, 65.4%, 0%, 26.3%)
CIE-LABlab(39.23, 46.52, -57.76)
CIE-LCHlch(39.23, 74.17, 308.85°)
OKLaboklab(49.63% 0.0812 -0.1648)
OKLCHoklch(49.63% 0.184 296.2)
XYZxyz(17.5206, 10.7906, 48.7269)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41BC #8EBC41
analogous
#4150BC #6F41BC #AD41BC
triadic
#6F41BC #BC6F41 #41BC6F
tetradic
#6F41BC #BC4150 #8EBC41 #41BCAD
square
#6F41BC #BC4150 #8EBC41 #41BCAD
split-complementary
#6F41BC #BCAD41 #50BC41
monochromatic
#392261 #54318F #6F41BC #916ECD #B39BDC

Accessibility & contrast

On white

6.65
#6F41BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#6F41BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41BC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41BC#FFFFFF#000000##FFFFFF
##6F41BC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#5B5E79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f41bc;
/* rgb */ color: rgb(111, 65, 188);
/* oklch */ color: oklch(49.6% 0.184 296.2);
Tailwind
colors: {
  custom: {
    50: '#9e78d1',
    500: '#6f41bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f41bc;
$custom-light: #9e78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41bc",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 262.439,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.18373,
    "h": 296.2
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F41BC

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

Preview Lab → · Contrast checker → · Palette generator →

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