#6B46E9#6B46E9

#6B46E9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.230 H 286.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#6B46E9
RGBrgb(107, 70, 233)
HSLhsl(254, 79%, 59%)
HSVhsv(254, 70%, 91%)
CMYKcmyk(54.1%, 70%, 0%, 8.6%)
CIE-LABlab(43.34, 55.60, -76.98)
CIE-LCHlch(43.34, 94.96, 305.84°)
OKLaboklab(53.59% 0.064 -0.2214)
OKLCHoklch(53.59% 0.23 286.1)
XYZxyz(22.9571, 13.3881, 78.4495)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B46E9 #C4E946
analogous
#4672E9 #6B46E9 #BD46E9
triadic
#6B46E9 #E96B46 #46E96B
tetradic
#6B46E9 #E94672 #C4E946 #46E9BD
square
#6B46E9 #E94672 #C4E946 #46E9BD
split-complementary
#6B46E9 #E9BD46 #72E946
monochromatic
#3313A1 #451AD8 #6B46E9 #977DF0 #C3B3F6

Accessibility & contrast

On white

5.71
#6B46E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#6B46E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B46E9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B46E9#FFFFFF#000000##FFFFFF
##6B46E91.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#347193
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b46e9;
/* rgb */ color: rgb(107, 70, 233);
/* oklch */ color: oklch(53.6% 0.230 286.1);
Tailwind
colors: {
  custom: {
    50: '#a17df1',
    500: '#6b46e9',
    950: '#000000',
  },
}
SCSS
$custom: #6b46e9;
$custom-light: #a17df1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b46e9",
  "rgb": {
    "r": 107,
    "g": 70,
    "b": 233
  },
  "hsl": {
    "h": 253.62,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5359,
    "c": 0.23045,
    "h": 286.1
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6B46E9

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

Preview Lab → · Contrast checker → · Palette generator →

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