#6C22A9#6C22A9

#6C22A9 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.1% C 0.199 H 303.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6C22A9
RGBrgb(108, 34, 169)
HSLhsl(273, 67%, 40%)
HSVhsv(273, 80%, 66%)
CMYKcmyk(36.1%, 79.9%, 0%, 33.7%)
CIE-LABlab(32.25, 55.55, -57.85)
CIE-LCHlch(32.25, 80.20, 313.84°)
OKLaboklab(44.13% 0.1105 -0.165)
OKLCHoklch(44.13% 0.199 303.8)
XYZxyz(13.9161, 7.1968, 38.1844)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22A9 #5FA922
analogous
#2922A9 #6C22A9 #A922A2
triadic
#6C22A9 #A96C22 #22A96C
tetradic
#6C22A9 #A92922 #5FA922 #22A2A9
square
#6C22A9 #A92922 #5FA922 #22A2A9
split-complementary
#6C22A9 #A2A922 #22A929
monochromatic
#2B0D43 #4B1876 #6C22A9 #8C32D6 #A965E0

Accessibility & contrast

On white

8.61
#6C22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6C22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22A9
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22A9#FFFFFF#000000##FFFFFF
##6C22A91.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#004CA6
Tritanopia (blue-blind)
#604666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c22a9;
/* rgb */ color: rgb(108, 34, 169);
/* oklch */ color: oklch(44.1% 0.199 303.8);
Tailwind
colors: {
  custom: {
    50: '#9c67c4',
    500: '#6c22a9',
    950: '#000000',
  },
}
SCSS
$custom: #6c22a9;
$custom-light: #9c67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22a9",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 272.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44129,
    "c": 0.19857,
    "h": 303.8
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#6C22A9
secondary
#8FC561
accent
#E93E8C
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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