#6E2EB2#6E2EB2

#6E2EB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.196 H 301.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#6E2EB2
RGBrgb(110, 46, 178)
HSLhsl(269, 59%, 44%)
HSVhsv(269, 74%, 70%)
CMYKcmyk(38.2%, 74.2%, 0%, 30.2%)
CIE-LABlab(34.97, 53.13, -58.78)
CIE-LCHlch(34.97, 79.23, 312.11°)
OKLaboklab(46.32% 0.1008 -0.1677)
OKLCHoklch(46.32% 0.196 301)
XYZxyz(15.4413, 8.4832, 42.9348)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EB2 #72B22E
analogous
#2E30B2 #6E2EB2 #B02EB2
triadic
#6E2EB2 #B26E2E #2EB26E
tetradic
#6E2EB2 #B22E30 #72B22E #2EB2B0
square
#6E2EB2 #B22E30 #72B22E #2EB2B0
split-complementary
#6E2EB2 #B2B02E #30B22E
monochromatic
#321551 #502181 #6E2EB2 #8D4CD1 #AC7DDD

Accessibility & contrast

On white

7.79
#6E2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6E2EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EB2
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EB2#FFFFFF#000000##FFFFFF
##6E2EB21.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0051AF
Tritanopia (blue-blind)
#5F4F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6e2eb2;
/* rgb */ color: rgb(110, 46, 178);
/* oklch */ color: oklch(46.3% 0.196 301.0);
Tailwind
colors: {
  custom: {
    50: '#9e6dca',
    500: '#6e2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #6e2eb2;
$custom-light: #9e6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2eb2",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 269.091,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46324,
    "c": 0.1957,
    "h": 301
  },
  "luminance": 0.08483
}

Semantic roles & 50–950 ramp

primary
#6E2EB2
secondary
#9FC676
accent
#E24696
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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