#6B41B3#6B41B3

#6B41B3 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.173 H 296.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6B41B3
RGBrgb(107, 65, 179)
HSLhsl(262, 47%, 48%)
HSVhsv(262, 64%, 70%)
CMYKcmyk(40.2%, 63.7%, 0%, 29.8%)
CIE-LABlab(38.13, 43.27, -54.26)
CIE-LCHlch(38.13, 69.40, 308.57°)
OKLaboklab(48.53% 0.0766 -0.1546)
OKLCHoklch(48.53% 0.173 296.3)
XYZxyz(16.0883, 10.1608, 43.7527)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B41B3 #89B341
analogous
#4150B3 #6B41B3 #A441B3
triadic
#6B41B3 #B36B41 #41B36B
tetradic
#6B41B3 #B34150 #89B341 #41B3A4
square
#6B41B3 #B34150 #89B341 #41B3A4
split-complementary
#6B41B3 #B3A441 #50B341
monochromatic
#352059 #503186 #6B41B3 #8C69C8 #AE96D9

Accessibility & contrast

On white

6.93
#6B41B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6B41B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B41B3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B41B3#FFFFFF#000000##FFFFFF
##6B41B31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b41b3;
/* rgb */ color: rgb(107, 65, 179);
/* oklch */ color: oklch(48.5% 0.173 296.3);
Tailwind
colors: {
  custom: {
    50: '#9b78ca',
    500: '#6b41b3',
    950: '#000000',
  },
}
SCSS
$custom: #6b41b3;
$custom-light: #9b78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b41b3",
  "rgb": {
    "r": 107,
    "g": 65,
    "b": 179
  },
  "hsl": {
    "h": 262.105,
    "s": 46.721,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48528,
    "c": 0.17255,
    "h": 296.3
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#6B41B3
secondary
#AFC48B
accent
#D651A5
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6B41B3

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

Preview Lab → · Contrast checker → · Palette generator →

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