#6E2AA4#6E2AA4

#6E2AA4 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.186 H 305.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6E2AA4
RGBrgb(110, 42, 164)
HSLhsl(273, 59%, 40%)
HSVhsv(273, 74%, 64%)
CMYKcmyk(32.9%, 74.4%, 0%, 35.7%)
CIE-LABlab(33.25, 51.52, -53.21)
CIE-LCHlch(33.25, 74.06, 314.08°)
OKLaboklab(44.76% 0.1075 -0.1513)
OKLCHoklch(44.76% 0.186 305.4)
XYZxyz(13.9577, 7.6514, 35.8563)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2AA4 #60A42A
analogous
#312AA4 #6E2AA4 #A42A9D
triadic
#6E2AA4 #A46E2A #2AA46E
tetradic
#6E2AA4 #A4312A #60A42A #2A9DA4
square
#6E2AA4 #A4312A #60A42A #2A9DA4
split-complementary
#6E2AA4 #9DA42A #2AA431
monochromatic
#2D1143 #4D1E73 #6E2AA4 #8E3ECD #AA6EDA

Accessibility & contrast

On white

8.30
#6E2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6E2AA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2AA4
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2AA4#FFFFFF#000000##FFFFFF
##6E2AA41.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#004EA1
Tritanopia (blue-blind)
#644865
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6e2aa4;
/* rgb */ color: rgb(110, 42, 164);
/* oklch */ color: oklch(44.8% 0.186 305.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ac0',
    500: '#6e2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #6e2aa4;
$custom-light: #9d6ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2aa4",
  "rgb": {
    "r": 110,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 273.443,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44761,
    "c": 0.18563,
    "h": 305.4
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#6E2AA4
secondary
#90C169
accent
#E2458B
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6E2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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