#6E2EB6#6E2EB6

#6E2EB6 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.200 H 300.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6E2EB6
RGBrgb(110, 46, 182)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 71%)
CMYKcmyk(39.6%, 74.7%, 0%, 28.6%)
CIE-LABlab(35.29, 54.11, -60.63)
CIE-LCHlch(35.29, 81.26, 311.75°)
OKLaboklab(46.65% 0.0999 -0.1732)
OKLCHoklch(46.65% 0.2 300)
XYZxyz(15.8488, 8.6462, 45.0808)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EB6 #76B62E
analogous
#2E32B6 #6E2EB6 #B22EB6
triadic
#6E2EB6 #B66E2E #2EB66E
tetradic
#6E2EB6 #B62E32 #76B62E #2EB6B2
square
#6E2EB6 #B62E32 #76B62E #2EB6B2
split-complementary
#6E2EB6 #B6B22E #32B62E
monochromatic
#331554 #502285 #6E2EB6 #8D4FD2 #AC80DF

Accessibility & contrast

On white

7.69
#6E2EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6E2EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EB6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EB6#FFFFFF#000000##FFFFFF
##6E2EB61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2eb6;
/* rgb */ color: rgb(110, 46, 182);
/* oklch */ color: oklch(46.7% 0.200 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e6dcd',
    500: '#6e2eb6',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eb6;
$custom-light: #9e6dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eb6",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 268.235,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46653,
    "c": 0.19991,
    "h": 300
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6E2EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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