#6B46CC#6B46CC

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

Color values

HEX#6B46CC
RGBrgb(107, 70, 204)
HSLhsl(257, 57%, 54%)
HSVhsv(257, 66%, 80%)
CMYKcmyk(47.5%, 65.7%, 0%, 20%)
CIE-LABlab(41.00, 47.43, -64.22)
CIE-LCHlch(41.00, 79.83, 306.45°)
OKLaboklab(51.19% 0.0686 -0.1839)
OKLCHoklch(51.19% 0.196 290.4)
XYZxyz(19.1496, 11.8650, 58.3962)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46CC #A7CC46
analogous
#4664CC #6B46CC #AE46CC
triadic
#6B46CC #CC6B46 #46CC6B
tetradic
#6B46CC #CC4664 #A7CC46 #46CCAE
square
#6B46CC #CC4664 #A7CC46 #46CCAE
split-complementary
#6B46CC #CCAE46 #64CC46
monochromatic
#392177 #4F2EA7 #6B46CC #9176D9 #B8A6E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B46CC#FFFFFF#000000##FFFFFF
##6B46CC1.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)
#0063D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#4C6783
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6b46cc;
/* rgb */ color: rgb(107, 70, 204);
/* oklch */ color: oklch(51.2% 0.196 290.4);
Tailwind
colors: {
  custom: {
    50: '#9d7cdc',
    500: '#6b46cc',
    950: '#000000',
  },
}
SCSS
$custom: #6b46cc;
$custom-light: #9d7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46cc",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 256.567,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51188,
    "c": 0.19629,
    "h": 290.4
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B46CC

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

Preview Lab → · Contrast checker → · Palette generator →

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