#6E22A3#6E22A3

#6E22A3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.9% C 0.193 H 306.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6E22A3
RGBrgb(110, 34, 163)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(32.5%, 79.1%, 0%, 36.1%)
CIE-LABlab(32.04, 54.52, -54.56)
CIE-LCHlch(32.04, 77.13, 314.98°)
OKLaboklab(43.89% 0.115 -0.1553)
OKLCHoklch(43.89% 0.193 306.5)
XYZxyz(13.6118, 7.1035, 35.2973)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22A3 #57A322
analogous
#2E22A3 #6E22A3 #A32297
triadic
#6E22A3 #A36E22 #22A36E
tetradic
#6E22A3 #A32E22 #57A322 #2297A3
square
#6E22A3 #A32E22 #57A322 #2297A3
split-complementary
#6E22A3 #97A322 #22A32E
monochromatic
#2A0D3E #4C1770 #6E22A3 #902FD4 #AB61DE

Accessibility & contrast

On white

8.68
#6E22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6E22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22A3
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22A3#FFFFFF#000000##FFFFFF
##6E22A31.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#004CA0
Tritanopia (blue-blind)
#654362
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6e22a3;
/* rgb */ color: rgb(110, 34, 163);
/* oklch */ color: oklch(43.9% 0.193 306.5);
Tailwind
colors: {
  custom: {
    50: '#9d66bf',
    500: '#6e22a3',
    950: '#000000',
  },
}
SCSS
$custom: #6e22a3;
$custom-light: #9d66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22a3",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 275.349,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.19318,
    "h": 306.5
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#6E22A3
secondary
#87C35E
accent
#E83F85
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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