#6F41B9#6F41B9

#6F41B9 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.180 H 296.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6F41B9
RGBrgb(111, 65, 185)
HSLhsl(263, 48%, 49%)
HSVhsv(263, 65%, 73%)
CMYKcmyk(40%, 64.9%, 0%, 27.5%)
CIE-LABlab(39.01, 45.72, -56.36)
CIE-LCHlch(39.01, 72.57, 309.05°)
OKLaboklab(49.4% 0.0815 -0.1607)
OKLCHoklch(49.4% 0.18 296.9)
XYZxyz(17.2005, 10.6626, 47.0414)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41B9 #8BB941
analogous
#414FB9 #6F41B9 #AB41B9
triadic
#6F41B9 #B96F41 #41B96F
tetradic
#6F41B9 #B9414F #8BB941 #41B9AB
square
#6F41B9 #B9414F #8BB941 #41B9AB
split-complementary
#6F41B9 #B9AB41 #4FB941
monochromatic
#39215E #54318C #6F41B9 #906CCB #B299DB

Accessibility & contrast

On white

6.70
#6F41B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6F41B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41B9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41B9#FFFFFF#000000##FFFFFF
##6F41B91.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#005AB6
Tritanopia (blue-blind)
#5D5D77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f41b9;
/* rgb */ color: rgb(111, 65, 185);
/* oklch */ color: oklch(49.4% 0.180 296.9);
Tailwind
colors: {
  custom: {
    50: '#9e78cf',
    500: '#6f41b9',
    950: '#000000',
  },
}
SCSS
$custom: #6f41b9;
$custom-light: #9e78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41b9",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 263,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.494,
    "c": 0.18017,
    "h": 296.9
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#6F41B9
secondary
#B1C78F
accent
#D850A4
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #6F41B9

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

Preview Lab → · Contrast checker → · Palette generator →

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