#6E4198#6E4198

#6E4198 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.0% C 0.140 H 305.5°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6E4198
RGBrgb(110, 65, 152)
HSLhsl(271, 40%, 43%)
HSVhsv(271, 57%, 60%)
CMYKcmyk(27.6%, 57.2%, 0%, 40.4%)
CIE-LABlab(36.67, 36.94, -40.43)
CIE-LCHlch(36.67, 54.76, 312.41°)
OKLaboklab(46.97% 0.0814 -0.1139)
OKLCHoklch(46.97% 0.14 305.5)
XYZxyz(13.9870, 9.3627, 30.7700)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4198 #6B9841
analogous
#424198 #6E4198 #984197
triadic
#6E4198 #986E41 #41986E
tetradic
#6E4198 #984241 #6B9841 #419798
square
#6E4198 #984241 #6B9841 #419798
split-complementary
#6E4198 #979841 #419842
monochromatic
#301C42 #4F2F6D #6E4198 #8D5DBA #AB88CC

Accessibility & contrast

On white

7.31
#6E4198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6E4198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E4198
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4198#FFFFFF#000000##FFFFFF
##6E41981.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#315696
Tritanopia (blue-blind)
#675166
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e4198;
/* rgb */ color: rgb(110, 65, 152);
/* oklch */ color: oklch(47.0% 0.140 305.5);
Tailwind
colors: {
  custom: {
    50: '#9a77b7',
    500: '#6e4198',
    950: '#000000',
  },
}
SCSS
$custom: #6e4198;
$custom-light: #9a77b7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4198",
  "rgb": {
    "r": 110,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 271.034,
    "s": 40.092,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46969,
    "c": 0.14003,
    "h": 305.5
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#6E4198
secondary
#99B77E
accent
#D05892
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6E4198

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

Preview Lab → · Contrast checker → · Palette generator →

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