#6A46E9#6A46E9

#6A46E9 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.231 H 285.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6A46E9
RGBrgb(106, 70, 233)
HSLhsl(253, 79%, 59%)
HSVhsv(253, 70%, 91%)
CMYKcmyk(54.5%, 70%, 0%, 8.6%)
CIE-LABlab(43.25, 55.45, -77.14)
CIE-LCHlch(43.25, 95.00, 305.71°)
OKLaboklab(53.5% 0.0626 -0.2219)
OKLCHoklch(53.5% 0.231 285.8)
XYZxyz(22.8376, 13.3264, 78.4439)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A46E9 #C5E946
analogous
#4673E9 #6A46E9 #BC46E9
triadic
#6A46E9 #E96A46 #46E96A
tetradic
#6A46E9 #E94673 #C5E946 #46E9BC
square
#6A46E9 #E94673 #C5E946 #46E9BC
split-complementary
#6A46E9 #E9BC46 #73E946
monochromatic
#3313A1 #441AD8 #6A46E9 #967DF0 #C2B3F6

Accessibility & contrast

On white

5.73
#6A46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6A46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A46E9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A46E9#FFFFFF#000000##FFFFFF
##6A46E91.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEE
Deuteranopia (green-blind)
#0061E6
Tritanopia (blue-blind)
#317193
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6a46e9;
/* rgb */ color: rgb(106, 70, 233);
/* oklch */ color: oklch(53.5% 0.231 285.8);
Tailwind
colors: {
  custom: {
    50: '#a07df1',
    500: '#6a46e9',
    950: '#000000',
  },
}
SCSS
$custom: #6a46e9;
$custom-light: #a07df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a46e9",
  "rgb": {
    "r": 106,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 253.252,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.23054,
    "h": 285.8
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#6A46E9
secondary
#D7E5A6
accent
#F533CA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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