#6A46BC#6A46BC

#6A46BC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.177 H 292.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#6A46BC
RGBrgb(106, 70, 188)
HSLhsl(258, 47%, 51%)
HSVhsv(258, 63%, 74%)
CMYKcmyk(43.6%, 62.8%, 0%, 26.3%)
CIE-LABlab(39.71, 42.75, -57.01)
CIE-LCHlch(39.71, 71.26, 306.86°)
OKLaboklab(49.85% 0.0688 -0.1628)
OKLCHoklch(49.85% 0.177 292.9)
XYZxyz(17.2086, 11.0748, 48.7982)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46BC #98BC46
analogous
#465DBC #6A46BC #A546BC
triadic
#6A46BC #BC6A46 #46BC6A
tetradic
#6A46BC #BC465D #98BC46 #46BCA5
square
#6A46BC #BC465D #98BC46 #46BCA5
split-complementary
#6A46BC #BCA546 #5DBC46
monochromatic
#372464 #503490 #6A46BC #8E73CC #B2A0DD

Accessibility & contrast

On white

6.53
#6A46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6A46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46BC
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46BC#FFFFFF#000000##FFFFFF
##6A46BC1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#53617A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a46bc;
/* rgb */ color: rgb(106, 70, 188);
/* oklch */ color: oklch(49.9% 0.177 292.9);
Tailwind
colors: {
  custom: {
    50: '#9b7bd1',
    500: '#6a46bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a46bc;
$custom-light: #9b7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46bc",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 258.305,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.17671,
    "h": 292.9
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#6A46BC
secondary
#B9C995
accent
#D651AE
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0F0914
muted
#7E7B82

Preview Lab

Preview with #6A46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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