#6E4FA1#6E4FA1

#6E4FA1 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.9% C 0.129 H 299.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#6E4FA1
RGBrgb(110, 79, 161)
HSLhsl(263, 34%, 47%)
HSVhsv(263, 51%, 63%)
CMYKcmyk(31.7%, 50.9%, 0%, 36.9%)
CIE-LABlab(40.38, 31.09, -39.93)
CIE-LCHlch(40.38, 50.61, 307.90°)
OKLaboklab(49.88% 0.0627 -0.1125)
OKLCHoklch(49.88% 0.129 299.1)
XYZxyz(15.6579, 11.4800, 35.1023)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FA1 #82A14F
analogous
#4F59A1 #6E4FA1 #974FA1
triadic
#6E4FA1 #A16E4F #4FA16E
tetradic
#6E4FA1 #A14F59 #82A14F #4FA197
square
#6E4FA1 #A14F59 #82A14F #4FA197
split-complementary
#6E4FA1 #A1974F #59A14F
monochromatic
#36274F #523B78 #6E4FA1 #8E73BA #AF9CCE

Accessibility & contrast

On white

6.37
#6E4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#6E4FA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FA1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FA1#FFFFFF#000000##FFFFFF
##6E4FA11.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#3B5E9F
Tritanopia (blue-blind)
#635E70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6e4fa1;
/* rgb */ color: rgb(110, 79, 161);
/* oklch */ color: oklch(49.9% 0.129 299.1);
Tailwind
colors: {
  custom: {
    50: '#9a81bd',
    500: '#6e4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fa1;
$custom-light: #9a81bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fa1",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 262.683,
    "s": 34.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49882,
    "c": 0.12881,
    "h": 299.1
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#6E4FA1
secondary
#ABBB91
accent
#CA5EA1
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #6E4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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