#6A22A9#6A22A9

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

Color values

HEX#6A22A9
RGBrgb(106, 34, 169)
HSLhsl(272, 67%, 40%)
HSVhsv(272, 80%, 66%)
CMYKcmyk(37.3%, 79.9%, 0%, 33.7%)
CIE-LABlab(31.97, 55.23, -58.31)
CIE-LCHlch(31.97, 80.32, 313.44°)
OKLaboklab(43.88% 0.1076 -0.1664)
OKLCHoklch(43.88% 0.198 302.9)
XYZxyz(13.6756, 7.0728, 38.1731)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A22A9 #61A922
analogous
#2722A9 #6A22A9 #A922A4
triadic
#6A22A9 #A96A22 #22A96A
tetradic
#6A22A9 #A92722 #61A922 #22A4A9
square
#6A22A9 #A92722 #61A922 #22A4A9
split-complementary
#6A22A9 #A4A922 #22A927
monochromatic
#2A0D43 #4A1876 #6A22A9 #8A32D6 #A765E0

Accessibility & contrast

On white

8.70
#6A22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6A22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A22A9
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A22A9#FFFFFF#000000##FFFFFF
##6A22A91.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#004BA6
Tritanopia (blue-blind)
#5D4766
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a22a9;
/* rgb */ color: rgb(106, 34, 169);
/* oklch */ color: oklch(43.9% 0.198 302.9);
Tailwind
colors: {
  custom: {
    50: '#9b66c4',
    500: '#6a22a9',
    950: '#000000',
  },
}
SCSS
$custom: #6a22a9;
$custom-light: #9b66c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a22a9",
  "rgb": {
    "r": 106,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 272,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43875,
    "c": 0.19819,
    "h": 302.9
  },
  "luminance": 0.07073
}

Semantic roles & 50–950 ramp

primary
#6A22A9
secondary
#90C561
accent
#E93E8E
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6A22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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