#6E2EC7#6E2EC7

#6E2EC7 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.218 H 296.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6E2EC7
RGBrgb(110, 46, 199)
HSLhsl(265, 62%, 48%)
HSVhsv(265, 77%, 78%)
CMYKcmyk(44.7%, 76.9%, 0%, 22%)
CIE-LABlab(36.73, 58.32, -68.27)
CIE-LCHlch(36.73, 89.79, 310.50°)
OKLaboklab(48.1% 0.0956 -0.1956)
OKLCHoklch(48.1% 0.218 296)
XYZxyz(17.7135, 9.3921, 54.9013)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EC7 #87C72E
analogous
#2E3AC7 #6E2EC7 #BA2EC7
triadic
#6E2EC7 #C76E2E #2EC76E
tetradic
#6E2EC7 #C72E3A #87C72E #2EC7BA
square
#6E2EC7 #C72E3A #87C72E #2EC7BA
split-complementary
#6E2EC7 #C7BA2E #3AC72E
monochromatic
#371764 #532395 #6E2EC7 #8F59D9 #B08BE4

Accessibility & contrast

On white

7.30
#6E2EC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6E2EC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EC7
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EC7#FFFFFF#000000##FFFFFF
##6E2EC71.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#55587A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e2ec7;
/* rgb */ color: rgb(110, 46, 199);
/* oklch */ color: oklch(48.1% 0.218 296.0);
Tailwind
colors: {
  custom: {
    50: '#a06ed9',
    500: '#6e2ec7',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ec7;
$custom-light: #a06ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ec7",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 265.098,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48102,
    "c": 0.21772,
    "h": 296
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#6E2EC7
secondary
#AFCE83
accent
#E642A1
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E2EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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