#6A41BF#6A41BF

#6A41BF is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.187 H 293.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#6A41BF
RGBrgb(106, 65, 191)
HSLhsl(260, 50%, 50%)
HSVhsv(260, 66%, 75%)
CMYKcmyk(44.5%, 66%, 0%, 25.1%)
CIE-LABlab(38.91, 46.33, -60.06)
CIE-LCHlch(38.91, 75.86, 307.65°)
OKLaboklab(49.35% 0.0739 -0.1717)
OKLCHoklch(49.35% 0.187 293.3)
XYZxyz(17.2356, 10.6058, 50.4191)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A41BF #96BF41
analogous
#4157BF #6A41BF #A941BF
triadic
#6A41BF #BF6A41 #41BF6A
tetradic
#6A41BF #BF4157 #96BF41 #41BFA9
square
#6A41BF #BF4157 #96BF41 #41BFA9
split-complementary
#6A41BF #BFA941 #57BF41
monochromatic
#372264 #513192 #6A41BF #8E6FCE #B29DDE

Accessibility & contrast

On white

6.73
#6A41BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6A41BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A41BF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A41BF#FFFFFF#000000##FFFFFF
##6A41BF1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#525F7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a41bf;
/* rgb */ color: rgb(106, 65, 191);
/* oklch */ color: oklch(49.3% 0.187 293.3);
Tailwind
colors: {
  custom: {
    50: '#9b78d3',
    500: '#6a41bf',
    950: '#000000',
  },
}
SCSS
$custom: #6a41bf;
$custom-light: #9b78d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a41bf",
  "rgb": {
    "r": 106,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 259.524,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49345,
    "c": 0.18696,
    "h": 293.3
  },
  "luminance": 0.10606
}

Semantic roles & 50–950 ramp

primary
#6A41BF
secondary
#B8CA92
accent
#D94FAC
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6A41BF

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

Preview Lab → · Contrast checker → · Palette generator →

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