#6E2EA6#6E2EA6

#6E2EA6 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.183 H 304.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6E2EA6
RGBrgb(110, 46, 166)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.7%, 72.3%, 0%, 34.9%)
CIE-LABlab(34.03, 50.22, -53.14)
CIE-LCHlch(34.03, 73.11, 313.38°)
OKLaboklab(45.36% 0.1032 -0.1512)
OKLCHoklch(45.36% 0.183 304.3)
XYZxyz(14.2888, 8.0222, 36.8647)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2EA6 #66A62E
analogous
#322EA6 #6E2EA6 #A62EA2
triadic
#6E2EA6 #A66E2E #2EA66E
tetradic
#6E2EA6 #A6322E #66A62E #2EA2A6
square
#6E2EA6 #A6322E #66A62E #2EA2A6
split-complementary
#6E2EA6 #A2A62E #2EA632
monochromatic
#2E1346 #4E2176 #6E2EA6 #8D46CC #AB76D9

Accessibility & contrast

On white

8.06
#6E2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6E2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2EA6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2EA6#FFFFFF#000000##FFFFFF
##6E2EA61.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#634B67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2ea6;
/* rgb */ color: rgb(110, 46, 166);
/* oklch */ color: oklch(45.4% 0.183 304.3);
Tailwind
colors: {
  custom: {
    50: '#9d6cc1',
    500: '#6e2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #6e2ea6;
$custom-light: #9d6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2ea6",
  "rgb": {
    "r": 110,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 272,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.183,
    "h": 304.3
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#6E2EA6
secondary
#95C16F
accent
#E0488F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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