#6E2AAA#6E2AAA

#6E2AAA is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.192 H 303.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6E2AAA
RGBrgb(110, 42, 170)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(35.3%, 75.3%, 0%, 33.3%)
CIE-LABlab(33.72, 52.94, -56.05)
CIE-LCHlch(33.72, 77.10, 313.37°)
OKLaboklab(45.24% 0.1063 -0.1597)
OKLCHoklch(45.24% 0.192 303.6)
XYZxyz(14.5124, 7.8732, 38.7775)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AAA #66AA2A
analogous
#2E2AAA #6E2AAA #AA2AA6
triadic
#6E2AAA #AA6E2A #2AAA6E
tetradic
#6E2AAA #AA2E2A #66AA2A #2AA6AA
square
#6E2AAA #AA2E2A #66AA2A #2AA6AA
split-complementary
#6E2AAA #A6AA2A #2AAA2E
monochromatic
#2E1248 #4E1E79 #6E2AAA #8D41D0 #AB72DC

Accessibility & contrast

On white

8.16
#6E2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6E2AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AAA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AAA#FFFFFF#000000##FFFFFF
##6E2AAA1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#004FA7
Tritanopia (blue-blind)
#624A68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6e2aaa;
/* rgb */ color: rgb(110, 42, 170);
/* oklch */ color: oklch(45.2% 0.192 303.6);
Tailwind
colors: {
  custom: {
    50: '#9d6bc4',
    500: '#6e2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aaa;
$custom-light: #9d6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aaa",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 271.875,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45241,
    "c": 0.1918,
    "h": 303.6
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#6E2AAA
secondary
#95C36C
accent
#E4448F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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