#6E4FBB#6E4FBB

#6E4FBB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.163 H 293.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#6E4FBB
RGBrgb(110, 79, 187)
HSLhsl(257, 44%, 52%)
HSVhsv(257, 58%, 73%)
CMYKcmyk(41.2%, 57.8%, 0%, 26.7%)
CIE-LABlab(41.99, 38.20, -52.71)
CIE-LCHlch(41.99, 65.10, 305.93°)
OKLaboklab(51.6% 0.0638 -0.15)
OKLCHoklch(51.6% 0.163 293)
XYZxyz(18.1936, 12.4943, 48.4571)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E4FBB #9CBB4F
analogous
#4F66BB #6E4FBB #A44FBB
triadic
#6E4FBB #BB6E4F #4FBB6E
tetradic
#6E4FBB #BB4F66 #9CBB4F #4FBBA4
square
#6E4FBB #BB4F66 #9CBB4F #4FBBA4
split-complementary
#6E4FBB #BBA44F #66BB4F
monochromatic
#3A2868 #533994 #6E4FBB #927BCC #B7A7DD

Accessibility & contrast

On white

6.00
#6E4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6E4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E4FBB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E4FBB#FFFFFF#000000##FFFFFF
##6E4FBB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E64BF
Deuteranopia (green-blind)
#1B61B9
Tritanopia (blue-blind)
#59667D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e4fbb;
/* rgb */ color: rgb(110, 79, 187);
/* oklch */ color: oklch(51.6% 0.163 293.0);
Tailwind
colors: {
  custom: {
    50: '#9c81d0',
    500: '#6e4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #6e4fbb;
$custom-light: #9c81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e4fbb",
  "rgb": {
    "r": 110,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 257.222,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51595,
    "c": 0.163,
    "h": 293
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#6E4FBB
secondary
#BDCA9B
accent
#D454AF
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #6E4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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