#6E51BF#6E51BF

#6E51BF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.2% C 0.165 H 291.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6E51BF
RGBrgb(110, 81, 191)
HSLhsl(256, 46%, 53%)
HSVhsv(256, 58%, 75%)
CMYKcmyk(42.4%, 57.6%, 0%, 25.1%)
CIE-LABlab(42.70, 38.16, -53.90)
CIE-LCHlch(42.70, 66.04, 305.30°)
OKLaboklab(52.21% 0.0614 -0.1535)
OKLCHoklch(52.21% 0.165 291.8)
XYZxyz(18.7742, 12.9609, 50.7926)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51BF #A2BF51
analogous
#516BBF #6E51BF #A551BF
triadic
#6E51BF #BF6E51 #51BF6E
tetradic
#6E51BF #BF516B #A2BF51 #51BFA5
square
#6E51BF #BF516B #A2BF51 #51BFA5
split-complementary
#6E51BF #BFA551 #6BBF51
monochromatic
#3A286D #52399A #6E51BF #937ECF #B9AAE0

Accessibility & contrast

On white

5.85
#6E51BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6E51BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51BF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51BF#FFFFFF#000000##FFFFFF
##6E51BF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C66C3
Deuteranopia (green-blind)
#1863BD
Tritanopia (blue-blind)
#576980
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e51bf;
/* rgb */ color: rgb(110, 81, 191);
/* oklch */ color: oklch(52.2% 0.165 291.8);
Tailwind
colors: {
  custom: {
    50: '#9d83d3',
    500: '#6e51bf',
    950: '#000000',
  },
}
SCSS
$custom: #6e51bf;
$custom-light: #9d83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51bf",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 255.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52205,
    "c": 0.16531,
    "h": 291.8
  },
  "luminance": 0.12961
}

Semantic roles & 50–950 ramp

primary
#6E51BF
secondary
#C1CE9E
accent
#D652B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6E51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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