#6A46CD#6A46CD

#6A46CD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.198 H 289.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6A46CD
RGBrgb(106, 70, 205)
HSLhsl(256, 57%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(48.3%, 65.9%, 0%, 19.6%)
CIE-LABlab(40.98, 47.52, -64.83)
CIE-LCHlch(40.98, 80.39, 306.24°)
OKLaboklab(51.17% 0.0671 -0.1858)
OKLCHoklch(51.17% 0.198 289.9)
XYZxyz(19.1503, 11.8515, 59.0243)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46CD #A9CD46
analogous
#4666CD #6A46CD #AE46CD
triadic
#6A46CD #CD6A46 #46CD6A
tetradic
#6A46CD #CD4666 #A9CD46 #46CDAE
square
#6A46CD #CD4666 #A9CD46 #46CDAE
split-complementary
#6A46CD #CDAE46 #66CD46
monochromatic
#382078 #4E2DA8 #6A46CD #9176DA #B8A6E7

Accessibility & contrast

On white

6.23
#6A46CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6A46CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46CD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46CD#FFFFFF#000000##FFFFFF
##6A46CD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#496783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a46cd;
/* rgb */ color: rgb(106, 70, 205);
/* oklch */ color: oklch(51.2% 0.198 289.9);
Tailwind
colors: {
  custom: {
    50: '#9d7cdd',
    500: '#6a46cd',
    950: '#000000',
  },
}
SCSS
$custom: #6a46cd;
$custom-light: #9d7cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46cd",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 256,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.19751,
    "h": 289.9
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#6A46CD
secondary
#C5D49B
accent
#E147B8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A46CD

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

Preview Lab → · Contrast checker → · Palette generator →

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