#6E2EB7#6E2EB7

#6E2EB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.7% C 0.201 H 299.7°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#6E2EB7
RGBrgb(110, 46, 183)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 72%)
CMYKcmyk(39.9%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.38, 54.36, -61.08)
CIE-LCHlch(35.38, 81.77, 311.66°)
OKLaboklab(46.74% 0.0997 -0.1745)
OKLCHoklch(46.74% 0.201 299.7)
XYZxyz(15.9525, 8.6877, 45.6270)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EB7 #77B72E
analogous
#2E33B7 #6E2EB7 #B22EB7
triadic
#6E2EB7 #B76E2E #2EB76E
tetradic
#6E2EB7 #B72E33 #77B72E #2EB7B2
square
#6E2EB7 #B72E33 #77B72E #2EB7B2
split-complementary
#6E2EB7 #B7B22E #33B72E
monochromatic
#331555 #512286 #6E2EB7 #8D4FD3 #AD80DF

Accessibility & contrast

On white

7.67
#6E2EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6E2EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EB7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EB7#FFFFFF#000000##FFFFFF
##6E2EB71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#5D5170
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2eb7;
/* rgb */ color: rgb(110, 46, 183);
/* oklch */ color: oklch(46.7% 0.201 299.7);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6e2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eb7;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eb7",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 268.029,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46736,
    "c": 0.20097,
    "h": 299.7
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#6E2EB7
secondary
#A3C879
accent
#E34599
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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