#6A46CF#6A46CF

#6A46CF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.3% C 0.200 H 289.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#6A46CF
RGBrgb(106, 70, 207)
HSLhsl(256, 59%, 54%)
HSVhsv(256, 66%, 81%)
CMYKcmyk(48.8%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.13, 48.09, -65.74)
CIE-LCHlch(41.13, 81.45, 306.19°)
OKLaboklab(51.33% 0.0668 -0.1884)
OKLCHoklch(51.33% 0.2 289.5)
XYZxyz(19.3933, 11.9487, 60.3039)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46CF #ABCF46
analogous
#4667CF #6A46CF #AE46CF
triadic
#6A46CF #CF6A46 #46CF6A
tetradic
#6A46CF #CF4667 #ABCF46 #46CFAE
square
#6A46CF #CF4667 #ABCF46 #46CFAE
split-complementary
#6A46CF #CFAE46 #67CF46
monochromatic
#38207B #4E2CAB #6A46CF #9177DC #B8A7E8

Accessibility & contrast

On white

6.20
#6A46CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#6A46CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46CF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46CF#FFFFFF#000000##FFFFFF
##6A46CF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#486885
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6a46cf;
/* rgb */ color: rgb(106, 70, 207);
/* oklch */ color: oklch(51.3% 0.200 289.5);
Tailwind
colors: {
  custom: {
    50: '#9d7cdf',
    500: '#6a46cf',
    950: '#000000',
  },
}
SCSS
$custom: #6a46cf;
$custom-light: #9d7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46cf",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 255.766,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51333,
    "c": 0.19992,
    "h": 289.5
  },
  "luminance": 0.11949
}

Semantic roles & 50–950 ramp

primary
#6A46CF
secondary
#C6D59B
accent
#E246B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6A46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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