#6F41B5#6F41B5

#6F41B5 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.1% C 0.175 H 297.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#6F41B5
RGBrgb(111, 65, 181)
HSLhsl(264, 47%, 48%)
HSVhsv(264, 64%, 71%)
CMYKcmyk(38.7%, 64.1%, 0%, 29%)
CIE-LABlab(38.72, 44.66, -54.47)
CIE-LCHlch(38.72, 70.44, 309.35°)
OKLaboklab(49.1% 0.0819 -0.1551)
OKLCHoklch(49.1% 0.175 297.8)
XYZxyz(16.7842, 10.4960, 44.8488)
Luminance0.1050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F41B5 #87B541
analogous
#414DB5 #6F41B5 #A941B5
triadic
#6F41B5 #B56F41 #41B56F
tetradic
#6F41B5 #B5414D #87B541 #41B5A9
square
#6F41B5 #B5414D #87B541 #41B5A9
split-complementary
#6F41B5 #B5A941 #4DB541
monochromatic
#38215B #533188 #6F41B5 #906AC9 #B197DA

Accessibility & contrast

On white

6.78
#6F41B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#6F41B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F41B5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F41B5#FFFFFF#000000##FFFFFF
##6F41B51.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#5E5B75
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f41b5;
/* rgb */ color: rgb(111, 65, 181);
/* oklch */ color: oklch(49.1% 0.175 297.8);
Tailwind
colors: {
  custom: {
    50: '#9d78cc',
    500: '#6f41b5',
    950: '#000000',
  },
}
SCSS
$custom: #6f41b5;
$custom-light: #9d78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f41b5",
  "rgb": {
    "r": 111,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 263.793,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49101,
    "c": 0.17541,
    "h": 297.8
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#6F41B5
secondary
#AFC58C
accent
#D751A2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #6F41B5

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

Preview Lab → · Contrast checker → · Palette generator →

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