#6A46BB#6A46BB

#6A46BB is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.8% C 0.175 H 293.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#6A46BB
RGBrgb(106, 70, 187)
HSLhsl(258, 46%, 50%)
HSVhsv(258, 63%, 73%)
CMYKcmyk(43.3%, 62.6%, 0%, 26.7%)
CIE-LABlab(39.63, 42.47, -56.54)
CIE-LCHlch(39.63, 70.71, 306.91°)
OKLaboklab(49.78% 0.0689 -0.1614)
OKLCHoklch(49.78% 0.175 293.1)
XYZxyz(17.1012, 11.0319, 48.2324)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46BB #97BB46
analogous
#465CBB #6A46BB #A546BB
triadic
#6A46BB #BB6A46 #46BB6A
tetradic
#6A46BB #BB465C #97BB46 #46BBA5
square
#6A46BB #BB465C #97BB46 #46BBA5
split-complementary
#6A46BB #BBA546 #5CBB46
monochromatic
#372462 #50358F #6A46BB #8E73CB #B2A0DC

Accessibility & contrast

On white

6.55
#6A46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6A46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46BB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46BB#FFFFFF#000000##FFFFFF
##6A46BB1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#53617A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a46bb;
/* rgb */ color: rgb(106, 70, 187);
/* oklch */ color: oklch(49.8% 0.175 293.1);
Tailwind
colors: {
  custom: {
    50: '#9a7bd0',
    500: '#6a46bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a46bb;
$custom-light: #9a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46bb",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 258.462,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49777,
    "c": 0.17547,
    "h": 293.1
  },
  "luminance": 0.11032
}

Semantic roles & 50–950 ramp

primary
#6A46BB
secondary
#B8C894
accent
#D652AD
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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