#6E2EB8#6E2EB8

#6E2EB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.202 H 299.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6E2EB8
RGBrgb(110, 46, 184)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 72%)
CMYKcmyk(40.2%, 75%, 0%, 27.8%)
CIE-LABlab(35.46, 54.60, -61.54)
CIE-LCHlch(35.46, 82.27, 311.58°)
OKLaboklab(46.82% 0.0994 -0.1759)
OKLCHoklch(46.82% 0.202 299.5)
XYZxyz(16.0570, 8.7295, 46.1771)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EB8 #78B82E
analogous
#2E33B8 #6E2EB8 #B32EB8
triadic
#6E2EB8 #B86E2E #2EB86E
tetradic
#6E2EB8 #B82E33 #78B82E #2EB8B3
square
#6E2EB8 #B82E33 #78B82E #2EB8B3
split-complementary
#6E2EB8 #B8B32E #33B82E
monochromatic
#331656 #512287 #6E2EB8 #8D50D3 #AD81DF

Accessibility & contrast

On white

7.65
#6E2EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6E2EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EB8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EB8#FFFFFF#000000##FFFFFF
##6E2EB81.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#5C5271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6e2eb8;
/* rgb */ color: rgb(110, 46, 184);
/* oklch */ color: oklch(46.8% 0.202 299.5);
Tailwind
colors: {
  custom: {
    50: '#9e6dce',
    500: '#6e2eb8',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eb8;
$custom-light: #9e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eb8",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 267.826,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4682,
    "c": 0.20201,
    "h": 299.5
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#6E2EB8
secondary
#A4C879
accent
#E3459A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6E2EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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