#6A46BE#6A46BE

#6A46BE is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.179 H 292.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#6A46BE
RGBrgb(106, 70, 190)
HSLhsl(258, 48%, 51%)
HSVhsv(258, 63%, 75%)
CMYKcmyk(44.2%, 63.2%, 0%, 25.5%)
CIE-LABlab(39.85, 43.31, -57.94)
CIE-LCHlch(39.85, 72.34, 306.77°)
OKLaboklab(50% 0.0687 -0.1655)
OKLCHoklch(50% 0.179 292.5)
XYZxyz(17.4257, 11.1617, 49.9415)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46BE #9ABE46
analogous
#465EBE #6A46BE #A646BE
triadic
#6A46BE #BE6A46 #46BE6A
tetradic
#6A46BE #BE465E #9ABE46 #46BEA6
square
#6A46BE #BE465E #9ABE46 #46BEA6
split-complementary
#6A46BE #BEA646 #5EBE46
monochromatic
#382466 #503493 #6A46BE #8E73CE #B3A1DE

Accessibility & contrast

On white

6.50
#6A46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#6A46BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46BE
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46BE#FFFFFF#000000##FFFFFF
##6A46BE1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#52627B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6a46be;
/* rgb */ color: rgb(106, 70, 190);
/* oklch */ color: oklch(50.0% 0.179 292.5);
Tailwind
colors: {
  custom: {
    50: '#9b7bd2',
    500: '#6a46be',
    950: '#000000',
  },
}
SCSS
$custom: #6a46be;
$custom-light: #9b7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46be",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 258,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50003,
    "c": 0.1792,
    "h": 292.5
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

primary
#6A46BE
secondary
#BBCA95
accent
#D850AF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0F0914
muted
#7E7B83

Preview Lab

Preview with #6A46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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