#6A46CB#6A46CB

#6A46CB is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.195 H 290.2°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#6A46CB
RGBrgb(106, 70, 203)
HSLhsl(256, 56%, 54%)
HSVhsv(256, 66%, 80%)
CMYKcmyk(47.8%, 65.5%, 0%, 20.4%)
CIE-LABlab(40.83, 46.96, -63.93)
CIE-LCHlch(40.83, 79.32, 306.30°)
OKLaboklab(51.01% 0.0673 -0.1831)
OKLCHoklch(51.01% 0.195 290.2)
XYZxyz(18.9104, 11.7556, 57.7610)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46CB #A7CB46
analogous
#4664CB #6A46CB #AD46CB
triadic
#6A46CB #CB6A46 #46CB6A
tetradic
#6A46CB #CB4664 #A7CB46 #46CBAD
square
#6A46CB #CB4664 #A7CB46 #46CBAD
split-complementary
#6A46CB #CBAD46 #64CB46
monochromatic
#382176 #4F2EA5 #6A46CB #9076D8 #B7A6E6

Accessibility & contrast

On white

6.27
#6A46CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6A46CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46CB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46CB#FFFFFF#000000##FFFFFF
##6A46CB1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#4B6682
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6a46cb;
/* rgb */ color: rgb(106, 70, 203);
/* oklch */ color: oklch(51.0% 0.195 290.2);
Tailwind
colors: {
  custom: {
    50: '#9c7cdc',
    500: '#6a46cb',
    950: '#000000',
  },
}
SCSS
$custom: #6a46cb;
$custom-light: #9c7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46cb",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 256.241,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51013,
    "c": 0.19509,
    "h": 290.2
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#6A46CB
secondary
#C3D39A
accent
#DF48B7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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