#6E46B2#6E46B2

#6E46B2 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.5% C 0.165 H 297.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6E46B2
RGBrgb(110, 70, 178)
HSLhsl(262, 44%, 49%)
HSVhsv(262, 61%, 70%)
CMYKcmyk(38.2%, 60.7%, 0%, 30.2%)
CIE-LABlab(39.43, 40.88, -51.55)
CIE-LCHlch(39.43, 65.80, 308.41°)
OKLaboklab(49.53% 0.0749 -0.1466)
OKLCHoklch(49.53% 0.165 297.1)
XYZxyz(16.6544, 10.9094, 43.3391)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E46B2 #8AB246
analogous
#4654B2 #6E46B2 #A446B2
triadic
#6E46B2 #B26E46 #46B26E
tetradic
#6E46B2 #B24654 #8AB246 #46B2A4
square
#6E46B2 #B24654 #8AB246 #46B2A4
split-complementary
#6E46B2 #B2A446 #54B246
monochromatic
#38235A #533586 #6E46B2 #8F6FC6 #B19BD8

Accessibility & contrast

On white

6.60
#6E46B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6E46B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E46B2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E46B2#FFFFFF#000000##FFFFFF
##6E46B21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#5E5D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6e46b2;
/* rgb */ color: rgb(110, 70, 178);
/* oklch */ color: oklch(49.5% 0.165 297.1);
Tailwind
colors: {
  custom: {
    50: '#9c7bca',
    500: '#6e46b2',
    950: '#000000',
  },
}
SCSS
$custom: #6e46b2;
$custom-light: #9c7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e46b2",
  "rgb": {
    "r": 110,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 262.222,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.1646,
    "h": 297.1
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#6E46B2
secondary
#B1C490
accent
#D355A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0913
muted
#7E7B82

Preview Lab

Preview with #6E46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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