#6B41B4#6B41B4

#6B41B4 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.174 H 296.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#6B41B4
RGBrgb(107, 65, 180)
HSLhsl(262, 47%, 48%)
HSVhsv(262, 64%, 71%)
CMYKcmyk(40.6%, 63.9%, 0%, 29.4%)
CIE-LABlab(38.20, 43.54, -54.73)
CIE-LCHlch(38.20, 69.94, 308.50°)
OKLaboklab(48.6% 0.0765 -0.156)
OKLCHoklch(48.6% 0.174 296.1)
XYZxyz(16.1898, 10.2014, 44.2872)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41B4 #8AB441
analogous
#4150B4 #6B41B4 #A441B4
triadic
#6B41B4 #B46B41 #41B46B
tetradic
#6B41B4 #B44150 #8AB441 #41B4A4
square
#6B41B4 #B44150 #8AB441 #41B4A4
split-complementary
#6B41B4 #B4A441 #50B441
monochromatic
#36215A #503187 #6B41B4 #8C69C9 #AF96D9

Accessibility & contrast

On white

6.91
#6B41B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6B41B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41B4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41B4#FFFFFF#000000##FFFFFF
##6B41B41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#595B74
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b41b4;
/* rgb */ color: rgb(107, 65, 180);
/* oklch */ color: oklch(48.6% 0.174 296.1);
Tailwind
colors: {
  custom: {
    50: '#9b78cb',
    500: '#6b41b4',
    950: '#000000',
  },
}
SCSS
$custom: #6b41b4;
$custom-light: #9b78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41b4",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 261.913,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.17377,
    "h": 296.1
  },
  "luminance": 0.10202
}

Semantic roles & 50–950 ramp

primary
#6B41B4
secondary
#B0C58C
accent
#D751A6
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6B41B4

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

Preview Lab → · Contrast checker → · Palette generator →

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