#6E22A4#6E22A4

#6E22A4 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.194 H 306.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#6E22A4
RGBrgb(110, 34, 164)
HSLhsl(275, 66%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(32.9%, 79.3%, 0%, 35.7%)
CIE-LABlab(32.12, 54.75, -55.03)
CIE-LCHlch(32.12, 77.63, 314.85°)
OKLaboklab(43.97% 0.1147 -0.1567)
OKLCHoklch(43.97% 0.194 306.2)
XYZxyz(13.7018, 7.1395, 35.7710)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22A4 #58A422
analogous
#2D22A4 #6E22A4 #A42299
triadic
#6E22A4 #A46E22 #22A46E
tetradic
#6E22A4 #A42D22 #58A422 #2299A4
square
#6E22A4 #A42D22 #58A422 #2299A4
split-complementary
#6E22A4 #99A422 #22A42D
monochromatic
#2A0D3F #4C1771 #6E22A4 #902FD4 #AB62DE

Accessibility & contrast

On white

8.65
#6E22A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6E22A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22A4
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22A4#FFFFFF#000000##FFFFFF
##6E22A41.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A8
Deuteranopia (green-blind)
#004CA1
Tritanopia (blue-blind)
#644463
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e22a4;
/* rgb */ color: rgb(110, 34, 164);
/* oklch */ color: oklch(44.0% 0.194 306.2);
Tailwind
colors: {
  custom: {
    50: '#9d67c0',
    500: '#6e22a4',
    950: '#000000',
  },
}
SCSS
$custom: #6e22a4;
$custom-light: #9d67c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22a4",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 275.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.19415,
    "h": 306.2
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#6E22A4
secondary
#88C45E
accent
#E93F86
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E22A4

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

Preview Lab → · Contrast checker → · Palette generator →

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