#6E4ABC#6E4ABC

#6E4ABC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.171 H 294.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6E4ABC
RGBrgb(110, 74, 188)
HSLhsl(259, 46%, 51%)
HSVhsv(259, 61%, 74%)
CMYKcmyk(41.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(40.97, 41.35, -54.95)
CIE-LCHlch(40.97, 68.77, 306.96°)
OKLaboklab(50.87% 0.0697 -0.1566)
OKLCHoklch(50.87% 0.171 294)
XYZxyz(17.9539, 11.8429, 48.9072)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4ABC #98BC4A
analogous
#4A5FBC #6E4ABC #A74ABC
triadic
#6E4ABC #BC6E4A #4ABC6E
tetradic
#6E4ABC #BC4A5F #98BC4A #4ABCA7
square
#6E4ABC #BC4A5F #98BC4A #4ABCA7
split-complementary
#6E4ABC #BCA74A #5FBC4A
monochromatic
#3A2666 #533693 #6E4ABC #9277CD #B6A3DD

Accessibility & contrast

On white

6.23
#6E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6E4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4ABC
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4ABC#FFFFFF#000000##FFFFFF
##6E4ABC1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#055FBA
Tritanopia (blue-blind)
#59637C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6e4abc;
/* rgb */ color: rgb(110, 74, 188);
/* oklch */ color: oklch(50.9% 0.171 294.0);
Tailwind
colors: {
  custom: {
    50: '#9d7ed1',
    500: '#6e4abc',
    950: '#000000',
  },
}
SCSS
$custom: #6e4abc;
$custom-light: #9d7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4abc",
  "rgb": {
    "r": 110,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 258.947,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.17139,
    "h": 294
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#6E4ABC
secondary
#BACA98
accent
#D652AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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