#6E2AA9#6E2AA9

#6E2AA9 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 303.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA9
RGBrgb(110, 42, 169)
HSLhsl(272, 60%, 41%)
HSVhsv(272, 75%, 66%)
CMYKcmyk(34.9%, 75.1%, 0%, 33.7%)
CIE-LABlab(33.64, 52.70, -55.58)
CIE-LCHlch(33.64, 76.59, 313.48°)
OKLaboklab(45.16% 0.1065 -0.1583)
OKLCHoklch(45.16% 0.191 303.9)
XYZxyz(14.4181, 7.8355, 38.2812)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA9 #65A92A
analogous
#2F2AA9 #6E2AA9 #A92AA5
triadic
#6E2AA9 #A96E2A #2AA96E
tetradic
#6E2AA9 #A92F2A #65A92A #2AA5A9
square
#6E2AA9 #A92F2A #65A92A #2AA5A9
split-complementary
#6E2AA9 #A5A92A #2AA92F
monochromatic
#2E1247 #4E1E78 #6E2AA9 #8D41D0 #AA72DC

Accessibility & contrast

On white

8.18
#6E2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2AA9
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA9#FFFFFF#000000##FFFFFF
##6E2AA91.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2aa9;
/* rgb */ color: rgb(110, 42, 169);
/* oklch */ color: oklch(45.2% 0.191 303.9);
Tailwind
colors: {
  custom: {
    50: '#9d6bc3',
    500: '#6e2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa9;
$custom-light: #9d6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa9",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 272.126,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.19077,
    "h": 303.9
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#6E2AA9
secondary
#94C36C
accent
#E3448E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6E2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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