#6E4FA5#6E4FA5

#6E4FA5 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.134 H 298.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6E4FA5
RGBrgb(110, 79, 165)
HSLhsl(262, 35%, 48%)
HSVhsv(262, 52%, 65%)
CMYKcmyk(33.3%, 52.1%, 0%, 35.3%)
CIE-LABlab(40.61, 32.16, -41.95)
CIE-LCHlch(40.61, 52.85, 307.47°)
OKLaboklab(50.13% 0.0631 -0.1184)
OKLCHoklch(50.13% 0.134 298)
XYZxyz(16.0163, 11.6234, 36.9897)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FA5 #86A54F
analogous
#4F5BA5 #6E4FA5 #994FA5
triadic
#6E4FA5 #A56E4F #4FA56E
tetradic
#6E4FA5 #A54F5B #86A54F #4FA599
square
#6E4FA5 #A54F5B #86A54F #4FA599
split-complementary
#6E4FA5 #A5994F #5BA54F
monochromatic
#372752 #523B7C #6E4FA5 #8F75BD #B09ED1

Accessibility & contrast

On white

6.32
#6E4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6E4FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FA5
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FA5#FFFFFF#000000##FFFFFF
##6E4FA51.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F60A8
Deuteranopia (green-blind)
#375FA3
Tritanopia (blue-blind)
#626072
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e4fa5;
/* rgb */ color: rgb(110, 79, 165);
/* oklch */ color: oklch(50.1% 0.134 298.0);
Tailwind
colors: {
  custom: {
    50: '#9a81c0',
    500: '#6e4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fa5;
$custom-light: #9a81c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fa5",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 261.628,
    "s": 35.246,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.13414,
    "h": 298
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#6E4FA5
secondary
#AEBD92
accent
#CB5DA3
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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