#6E22AA#6E22AA

#6E22AA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.200 H 304.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#6E22AA
RGBrgb(110, 34, 170)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 67%)
CMYKcmyk(35.3%, 80%, 0%, 33.3%)
CIE-LABlab(32.62, 56.11, -57.84)
CIE-LCHlch(32.62, 80.58, 314.13°)
OKLaboklab(44.47% 0.1131 -0.1649)
OKLCHoklch(44.47% 0.2 304.4)
XYZxyz(14.2565, 7.3614, 38.6922)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22AA #5EAA22
analogous
#2A22AA #6E22AA #AA22A2
triadic
#6E22AA #AA6E22 #22AA6E
tetradic
#6E22AA #AA2A22 #5EAA22 #22A2AA
square
#6E22AA #AA2A22 #5EAA22 #22A2AA
split-complementary
#6E22AA #A2AA22 #22AA2A
monochromatic
#2C0E44 #4D1877 #6E22AA #8E33D6 #AA66E0

Accessibility & contrast

On white

8.49
#6E22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#6E22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22AA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22AA#FFFFFF#000000##FFFFFF
##6E22AA1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#624666
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6e22aa;
/* rgb */ color: rgb(110, 34, 170);
/* oklch */ color: oklch(44.5% 0.200 304.4);
Tailwind
colors: {
  custom: {
    50: '#9e67c4',
    500: '#6e22aa',
    950: '#000000',
  },
}
SCSS
$custom: #6e22aa;
$custom-light: #9e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22aa",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 273.529,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.19997,
    "h": 304.4
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#6E22AA
secondary
#8EC662
accent
#EA3E8A
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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