#6E2AAE#6E2AAE

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

Color values

HEX#6E2AAE
RGBrgb(110, 42, 174)
HSLhsl(271, 61%, 42%)
HSVhsv(271, 76%, 68%)
CMYKcmyk(36.8%, 75.9%, 0%, 31.8%)
CIE-LABlab(34.04, 53.89, -57.92)
CIE-LCHlch(34.04, 79.11, 312.94°)
OKLaboklab(45.57% 0.1053 -0.1652)
OKLCHoklch(45.57% 0.196 302.5)
XYZxyz(14.8965, 8.0269, 40.8007)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AAE #6AAE2A
analogous
#2C2AAE #6E2AAE #AE2AAC
triadic
#6E2AAE #AE6E2A #2AAE6E
tetradic
#6E2AAE #AE2C2A #6AAE2A #2AACAE
square
#6E2AAE #AE2C2A #6AAE2A #2AACAE
split-complementary
#6E2AAE #ACAE2A #2AAE2C
monochromatic
#30124B #4F1E7D #6E2AAE #8D43D2 #AB75DE

Accessibility & contrast

On white

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

On black

2.61
#6E2AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6E2AAE#FFFFFF#000000##FFFFFF
##6E2AAE1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#614C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2aae;
/* rgb */ color: rgb(110, 42, 174);
/* oklch */ color: oklch(45.6% 0.196 302.5);
Tailwind
colors: {
  custom: {
    50: '#9d6bc7',
    500: '#6e2aae',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aae;
$custom-light: #9d6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aae",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 174
  },
  "hsl": {
    "h": 270.909,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45567,
    "c": 0.19591,
    "h": 302.5
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#6E2AAE
secondary
#99C56F
accent
#E44491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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