#6A46CA#6A46CA

#6A46CA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.194 H 290.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6A46CA
RGBrgb(106, 70, 202)
HSLhsl(256, 55%, 53%)
HSVhsv(256, 65%, 79%)
CMYKcmyk(47.5%, 65.3%, 0%, 20.8%)
CIE-LABlab(40.75, 46.68, -63.47)
CIE-LCHlch(40.75, 78.79, 306.33°)
OKLaboklab(50.93% 0.0674 -0.1818)
OKLCHoklch(50.93% 0.194 290.4)
XYZxyz(18.7917, 11.7080, 57.1354)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46CA #A6CA46
analogous
#4664CA #6A46CA #AC46CA
triadic
#6A46CA #CA6A46 #46CA6A
tetradic
#6A46CA #CA4664 #A6CA46 #46CAAC
square
#6A46CA #CA4664 #A6CA46 #46CAAC
split-complementary
#6A46CA #CAAC46 #64CA46
monochromatic
#382174 #4F2FA4 #6A46CA #9076D8 #B7A5E5

Accessibility & contrast

On white

6.28
#6A46CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6A46CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46CA
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46CA#FFFFFF#000000##FFFFFF
##6A46CA1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a46ca;
/* rgb */ color: rgb(106, 70, 202);
/* oklch */ color: oklch(50.9% 0.194 290.4);
Tailwind
colors: {
  custom: {
    50: '#9c7cdb',
    500: '#6a46ca',
    950: '#000000',
  },
}
SCSS
$custom: #6a46ca;
$custom-light: #9c7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46ca",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 256.364,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.19389,
    "h": 290.4
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

primary
#6A46CA
secondary
#C3D29A
accent
#DF49B6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6A46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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