#6A46DA#6A46DA

#6A46DA is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.2% C 0.213 H 287.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6A46DA
RGBrgb(106, 70, 218)
HSLhsl(255, 67%, 56%)
HSVhsv(255, 68%, 85%)
CMYKcmyk(51.4%, 67.9%, 0%, 14.5%)
CIE-LABlab(42.01, 51.20, -70.63)
CIE-LCHlch(42.01, 87.24, 305.94°)
OKLaboklab(52.23% 0.0652 -0.2028)
OKLCHoklch(52.23% 0.213 287.8)
XYZxyz(20.7852, 12.5054, 67.6347)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46DA #B6DA46
analogous
#466CDA #6A46DA #B446DA
triadic
#6A46DA #DA6A46 #46DA6A
tetradic
#6A46DA #DA466C #B6DA46 #46DAB4
square
#6A46DA #DA466C #B6DA46 #46DAB4
split-complementary
#6A46DA #DAB446 #6CDA46
monochromatic
#361C8A #4B26BD #6A46DA #9379E4 #BCACEE

Accessibility & contrast

On white

6.00
#6A46DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6A46DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46DA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46DA#FFFFFF#000000##FFFFFF
##6A46DA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#406C8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6a46da;
/* rgb */ color: rgb(106, 70, 218);
/* oklch */ color: oklch(52.2% 0.213 287.8);
Tailwind
colors: {
  custom: {
    50: '#9e7ce7',
    500: '#6a46da',
    950: '#000000',
  },
}
SCSS
$custom: #6a46da;
$custom-light: #9e7ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46da",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 254.595,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.21303,
    "h": 287.8
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#6A46DA
secondary
#CEDCA0
accent
#EA3EC0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A46DA

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

Preview Lab → · Contrast checker → · Palette generator →

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