#6E4DBA#6E4DBA

#6E4DBA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.2% C 0.165 H 293.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#6E4DBA
RGBrgb(110, 77, 186)
HSLhsl(258, 44%, 52%)
HSVhsv(258, 59%, 73%)
CMYKcmyk(40.9%, 58.6%, 0%, 27.1%)
CIE-LABlab(41.48, 39.07, -52.95)
CIE-LCHlch(41.48, 65.81, 306.43°)
OKLaboklab(51.2% 0.0662 -0.1507)
OKLCHoklch(51.2% 0.165 293.7)
XYZxyz(17.9448, 12.1675, 47.8479)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4DBA #99BA4D
analogous
#4D63BA #6E4DBA #A54DBA
triadic
#6E4DBA #BA6E4D #4DBA6E
tetradic
#6E4DBA #BA4D63 #99BA4D #4DBAA5
square
#6E4DBA #BA4D63 #99BA4D #4DBAA5
split-complementary
#6E4DBA #BAA54D #63BA4D
monochromatic
#3A2765 #533891 #6E4DBA #9279CB #B6A5DC

Accessibility & contrast

On white

6.12
#6E4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6E4DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4DBA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4DBA#FFFFFF#000000##FFFFFF
##6E4DBA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0463BE
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#5A657C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6e4dba;
/* rgb */ color: rgb(110, 77, 186);
/* oklch */ color: oklch(51.2% 0.165 293.7);
Tailwind
colors: {
  custom: {
    50: '#9c80cf',
    500: '#6e4dba',
    950: '#000000',
  },
}
SCSS
$custom: #6e4dba;
$custom-light: #9c80cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4dba",
  "rgb": {
    "r": 110,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 258.165,
    "s": 44.13,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.1646,
    "h": 293.7
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#6E4DBA
secondary
#BBC999
accent
#D454AD
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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