#6E22A9#6E22A9

#6E22A9 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.4% C 0.199 H 304.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6E22A9
RGBrgb(110, 34, 169)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 66%)
CMYKcmyk(34.9%, 79.9%, 0%, 33.7%)
CIE-LABlab(32.53, 55.88, -57.38)
CIE-LCHlch(32.53, 80.09, 314.24°)
OKLaboklab(44.39% 0.1134 -0.1635)
OKLCHoklch(44.39% 0.199 304.7)
XYZxyz(14.1622, 7.3237, 38.1959)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E22A9 #5DA922
analogous
#2B22A9 #6E22A9 #A922A0
triadic
#6E22A9 #A96E22 #22A96E
tetradic
#6E22A9 #A92B22 #5DA922 #22A0A9
square
#6E22A9 #A92B22 #5DA922 #22A0A9
split-complementary
#6E22A9 #A0A922 #22A92B
monochromatic
#2C0D43 #4D1876 #6E22A9 #8E32D6 #AA65E0

Accessibility & contrast

On white

8.52
#6E22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6E22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E22A9
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E22A9#FFFFFF#000000##FFFFFF
##6E22A91.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#634666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e22a9;
/* rgb */ color: rgb(110, 34, 169);
/* oklch */ color: oklch(44.4% 0.199 304.7);
Tailwind
colors: {
  custom: {
    50: '#9d67c4',
    500: '#6e22a9',
    950: '#000000',
  },
}
SCSS
$custom: #6e22a9;
$custom-light: #9d67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e22a9",
  "rgb": {
    "r": 110,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 273.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.199,
    "h": 304.7
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

primary
#6E22A9
secondary
#8DC561
accent
#E93E89
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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