#6A41BB#6A41BB

#6A41BB is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.182 H 294.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6A41BB
RGBrgb(106, 65, 187)
HSLhsl(260, 48%, 49%)
HSVhsv(260, 65%, 73%)
CMYKcmyk(43.3%, 65.2%, 0%, 26.7%)
CIE-LABlab(38.61, 45.24, -58.20)
CIE-LCHlch(38.61, 73.72, 307.85°)
OKLaboklab(49.03% 0.0744 -0.1663)
OKLCHoklch(49.03% 0.182 294.1)
XYZxyz(16.8014, 10.4322, 48.1325)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41BB #92BB41
analogous
#4155BB #6A41BB #A741BB
triadic
#6A41BB #BB6A41 #41BB6A
tetradic
#6A41BB #BB4155 #92BB41 #41BBA7
square
#6A41BB #BB4155 #92BB41 #41BBA7
split-complementary
#6A41BB #BBA741 #55BB41
monochromatic
#372160 #50318E #6A41BB #8D6DCC #B09ADC

Accessibility & contrast

On white

6.80
#6A41BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6A41BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41BB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41BB#FFFFFF#000000##FFFFFF
##6A41BB1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#545E78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a41bb;
/* rgb */ color: rgb(106, 65, 187);
/* oklch */ color: oklch(49.0% 0.182 294.1);
Tailwind
colors: {
  custom: {
    50: '#9b78d0',
    500: '#6a41bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a41bb;
$custom-light: #9b78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41bb",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 260.164,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49033,
    "c": 0.18215,
    "h": 294.1
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#6A41BB
secondary
#B5C890
accent
#D850AA
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A41BB

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

Preview Lab → · Contrast checker → · Palette generator →

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