#6A46CC#6A46CC

#6A46CC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.196 H 290.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#6A46CC
RGBrgb(106, 70, 204)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48%, 65.7%, 0%, 20%)
CIE-LABlab(40.90, 47.24, -64.38)
CIE-LCHlch(40.90, 79.85, 306.27°)
OKLaboklab(51.09% 0.0672 -0.1844)
OKLCHoklch(51.09% 0.196 290)
XYZxyz(19.0300, 11.8034, 58.3906)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46CC #A8CC46
analogous
#4665CC #6A46CC #AD46CC
triadic
#6A46CC #CC6A46 #46CC6A
tetradic
#6A46CC #CC4665 #A8CC46 #46CCAD
square
#6A46CC #CC4665 #A8CC46 #46CCAD
split-complementary
#6A46CC #CCAD46 #65CC46
monochromatic
#382177 #4E2EA7 #6A46CC #9176D9 #B7A6E6

Accessibility & contrast

On white

6.25
#6A46CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6A46CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46CC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46CC#FFFFFF#000000##FFFFFF
##6A46CC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#4A6783
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a46cc;
/* rgb */ color: rgb(106, 70, 204);
/* oklch */ color: oklch(51.1% 0.196 290.0);
Tailwind
colors: {
  custom: {
    50: '#9d7cdc',
    500: '#6a46cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a46cc;
$custom-light: #9d7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46cc",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 256.119,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51093,
    "c": 0.1963,
    "h": 290
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#6A46CC
secondary
#C4D49A
accent
#E048B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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