#6E2AAC#6E2AAC

#6E2AAC is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.194 H 303.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6E2AAC
RGBrgb(110, 42, 172)
HSLhsl(271, 61%, 42%)
HSVhsv(271, 76%, 67%)
CMYKcmyk(36%, 75.6%, 0%, 32.5%)
CIE-LABlab(33.88, 53.42, -56.98)
CIE-LCHlch(33.88, 78.11, 313.15°)
OKLaboklab(45.4% 0.1058 -0.1624)
OKLCHoklch(45.4% 0.194 303.1)
XYZxyz(14.7030, 7.9495, 39.7815)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AAC #68AC2A
analogous
#2D2AAC #6E2AAC #AC2AA9
triadic
#6E2AAC #AC6E2A #2AAC6E
tetradic
#6E2AAC #AC2D2A #68AC2A #2AA9AC
square
#6E2AAC #AC2D2A #68AC2A #2AA9AC
split-complementary
#6E2AAC #A9AC2A #2AAC2D
monochromatic
#2F124A #4F1E7B #6E2AAC #8D42D1 #AB73DD

Accessibility & contrast

On white

8.11
#6E2AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6E2AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AAC
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AAC#FFFFFF#000000##FFFFFF
##6E2AAC1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#614B69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6e2aac;
/* rgb */ color: rgb(110, 42, 172);
/* oklch */ color: oklch(45.4% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bc6',
    500: '#6e2aac',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aac;
$custom-light: #9d6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aac",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 271.385,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.19386,
    "h": 303.1
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#6E2AAC
secondary
#97C46D
accent
#E44490
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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