#6B46CA#6B46CA

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

Color values

HEX#6B46CA
RGBrgb(107, 70, 202)
HSLhsl(257, 55%, 53%)
HSVhsv(257, 65%, 79%)
CMYKcmyk(47%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.85, 46.86, -63.31)
CIE-LCHlch(40.85, 78.77, 306.51°)
OKLaboklab(51.03% 0.0688 -0.1812)
OKLCHoklch(51.03% 0.194 290.8)
XYZxyz(18.9112, 11.7697, 57.1410)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46CA #A5CA46
analogous
#4663CA #6B46CA #AD46CA
triadic
#6B46CA #CA6B46 #46CA6B
tetradic
#6B46CA #CA4663 #A5CA46 #46CAAD
square
#6B46CA #CA4663 #A5CA46 #46CAAD
split-complementary
#6B46CA #CAAD46 #63CA46
monochromatic
#392174 #502FA4 #6B46CA #9176D8 #B7A5E5

Accessibility & contrast

On white

6.26
#6B46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6B46CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46CA#FFFFFF#000000##FFFFFF
##6B46CA1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#4D6682
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6b46ca;
/* rgb */ color: rgb(107, 70, 202);
/* oklch */ color: oklch(51.0% 0.194 290.8);
Tailwind
colors: {
  custom: {
    50: '#9d7cdb',
    500: '#6b46ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b46ca;
$custom-light: #9d7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46ca",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 256.818,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51029,
    "c": 0.19387,
    "h": 290.8
  },
  "luminance": 0.1177
}

Semantic roles & 50–950 ramp

primary
#6B46CA
secondary
#C2D29A
accent
#DF49B5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6B46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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