#6B41B0#6B41B0

#6B41B0 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.169 H 297.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#6B41B0
RGBrgb(107, 65, 176)
HSLhsl(263, 46%, 47%)
HSVhsv(263, 63%, 69%)
CMYKcmyk(39.2%, 63.1%, 0%, 31%)
CIE-LABlab(37.92, 42.46, -52.83)
CIE-LCHlch(37.92, 67.78, 308.79°)
OKLaboklab(48.31% 0.0768 -0.1504)
OKLCHoklch(48.31% 0.169 297)
XYZxyz(15.7882, 10.0407, 42.1721)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41B0 #86B041
analogous
#414EB0 #6B41B0 #A341B0
triadic
#6B41B0 #B06B41 #41B06B
tetradic
#6B41B0 #B0414E #86B041 #41B0A3
square
#6B41B0 #B0414E #86B041 #41B0A3
split-complementary
#6B41B0 #B0A341 #4EB041
monochromatic
#352057 #503083 #6B41B0 #8B67C7 #AD94D7

Accessibility & contrast

On white

6.98
#6B41B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#6B41B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41B0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41B0#FFFFFF#000000##FFFFFF
##6B41B01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#0258AE
Tritanopia (blue-blind)
#5A5A72
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6b41b0;
/* rgb */ color: rgb(107, 65, 176);
/* oklch */ color: oklch(48.3% 0.169 297.0);
Tailwind
colors: {
  custom: {
    50: '#9a78c8',
    500: '#6b41b0',
    950: '#000000',
  },
}
SCSS
$custom: #6b41b0;
$custom-light: #9a78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41b0",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 262.703,
    "s": 46.058,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.16889,
    "h": 297
  },
  "luminance": 0.10041
}

Semantic roles & 50–950 ramp

primary
#6B41B0
secondary
#ADC38A
accent
#D652A4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6B41B0

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

Preview Lab → · Contrast checker → · Palette generator →

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