#6A46BA#6A46BA

#6A46BA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.174 H 293.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#6A46BA
RGBrgb(106, 70, 186)
HSLhsl(259, 46%, 50%)
HSVhsv(259, 62%, 73%)
CMYKcmyk(43%, 62.4%, 0%, 27.1%)
CIE-LABlab(39.56, 42.19, -56.07)
CIE-LCHlch(39.56, 70.17, 306.96°)
OKLaboklab(49.7% 0.069 -0.16)
OKLCHoklch(49.7% 0.174 293.3)
XYZxyz(16.9945, 10.9892, 47.6706)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46BA #96BA46
analogous
#465CBA #6A46BA #A446BA
triadic
#6A46BA #BA6A46 #46BA6A
tetradic
#6A46BA #BA465C #96BA46 #46BAA4
square
#6A46BA #BA465C #96BA46 #46BAA4
split-complementary
#6A46BA #BAA446 #5CBA46
monochromatic
#372461 #51358E #6A46BA #8E73CB #B29FDB

Accessibility & contrast

On white

6.57
#6A46BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#6A46BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46BA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46BA#FFFFFF#000000##FFFFFF
##6A46BA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#546079
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a46ba;
/* rgb */ color: rgb(106, 70, 186);
/* oklch */ color: oklch(49.7% 0.174 293.3);
Tailwind
colors: {
  custom: {
    50: '#9a7bcf',
    500: '#6a46ba',
    950: '#000000',
  },
}
SCSS
$custom: #6a46ba;
$custom-light: #9a7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46ba",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 258.621,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49702,
    "c": 0.17423,
    "h": 293.3
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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