#6E4BBA#6E4BBA

#6E4BBA is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.167 H 294.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#6E4BBA
RGBrgb(110, 75, 186)
HSLhsl(259, 45%, 51%)
HSVhsv(259, 60%, 73%)
CMYKcmyk(40.9%, 59.7%, 0%, 27.1%)
CIE-LABlab(41.04, 40.22, -53.65)
CIE-LCHlch(41.04, 67.06, 306.86°)
OKLaboklab(50.88% 0.0686 -0.1528)
OKLCHoklch(50.88% 0.167 294.2)
XYZxyz(17.8071, 11.8919, 47.8020)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4BBA #97BA4B
analogous
#4B5FBA #6E4BBA #A54BBA
triadic
#6E4BBA #BA6E4B #4BBA6E
tetradic
#6E4BBA #BA4B5F #97BA4B #4BBAA5
square
#6E4BBA #BA4B5F #97BA4B #4BBAA5
split-complementary
#6E4BBA #BAA54B #5FBA4B
monochromatic
#3A2664 #533790 #6E4BBA #9277CB #B5A3DC

Accessibility & contrast

On white

6.22
#6E4BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#6E4BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4BBA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4BBA#FFFFFF#000000##FFFFFF
##6E4BBA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BE
Deuteranopia (green-blind)
#125FB8
Tritanopia (blue-blind)
#5A637B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6e4bba;
/* rgb */ color: rgb(110, 75, 186);
/* oklch */ color: oklch(50.9% 0.167 294.2);
Tailwind
colors: {
  custom: {
    50: '#9d7fcf',
    500: '#6e4bba',
    950: '#000000',
  },
}
SCSS
$custom: #6e4bba;
$custom-light: #9d7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4bba",
  "rgb": {
    "r": 110,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 258.919,
    "s": 44.578,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.16747,
    "h": 294.2
  },
  "luminance": 0.11892
}

Semantic roles & 50–950 ramp

primary
#6E4BBA
secondary
#B9C998
accent
#D454AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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