#6E51BE#6E51BE

#6E51BE is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.1% C 0.164 H 292.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6E51BE
RGBrgb(110, 81, 190)
HSLhsl(256, 46%, 53%)
HSVhsv(256, 57%, 75%)
CMYKcmyk(42.1%, 57.4%, 0%, 25.5%)
CIE-LABlab(42.64, 37.87, -53.42)
CIE-LCHlch(42.64, 65.48, 305.33°)
OKLaboklab(52.14% 0.0614 -0.1521)
OKLCHoklch(52.14% 0.164 292)
XYZxyz(18.6646, 12.9170, 50.2150)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E51BE #A1BE51
analogous
#516ABE #6E51BE #A451BE
triadic
#6E51BE #BE6E51 #51BE6E
tetradic
#6E51BE #BE516A #A1BE51 #51BEA4
square
#6E51BE #BE516A #A1BE51 #51BEA4
split-complementary
#6E51BE #BEA451 #6ABE51
monochromatic
#3A286C #533999 #6E51BE #937ECF #B8AADF

Accessibility & contrast

On white

5.86
#6E51BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6E51BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E51BE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E51BE#FFFFFF#000000##FFFFFF
##6E51BE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F66C2
Deuteranopia (green-blind)
#1B62BC
Tritanopia (blue-blind)
#586980
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6e51be;
/* rgb */ color: rgb(110, 81, 190);
/* oklch */ color: oklch(52.1% 0.164 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d83d2',
    500: '#6e51be',
    950: '#000000',
  },
}
SCSS
$custom: #6e51be;
$custom-light: #9d83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e51be",
  "rgb": {
    "r": 110,
    "g": 81,
    "b": 190
  },
  "hsl": {
    "h": 255.963,
    "s": 45.607,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.16401,
    "h": 292
  },
  "luminance": 0.12918
}

Semantic roles & 50–950 ramp

primary
#6E51BE
secondary
#C0CD9E
accent
#D553B2
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6E51BE

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

Preview Lab → · Contrast checker → · Palette generator →

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