#6C22A3#6C22A3

#6C22A3 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.193 H 305.6°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6C22A3
RGBrgb(108, 34, 163)
HSLhsl(274, 65%, 39%)
HSVhsv(274, 79%, 64%)
CMYKcmyk(33.7%, 79.1%, 0%, 36.1%)
CIE-LABlab(31.75, 54.17, -55.04)
CIE-LCHlch(31.75, 77.23, 314.54°)
OKLaboklab(43.63% 0.1121 -0.1567)
OKLCHoklch(43.63% 0.193 305.6)
XYZxyz(13.3657, 6.9766, 35.2857)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22A3 #59A322
analogous
#2C22A3 #6C22A3 #A32299
triadic
#6C22A3 #A36C22 #22A36C
tetradic
#6C22A3 #A32C22 #59A322 #2299A3
square
#6C22A3 #A32C22 #59A322 #2299A3
split-complementary
#6C22A3 #99A322 #22A32C
monochromatic
#290D3E #4A1770 #6C22A3 #8D2FD4 #A961DE

Accessibility & contrast

On white

8.77
#6C22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#6C22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22A3
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22A3#FFFFFF#000000##FFFFFF
##6C22A31.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6c22a3;
/* rgb */ color: rgb(108, 34, 163);
/* oklch */ color: oklch(43.6% 0.193 305.6);
Tailwind
colors: {
  custom: {
    50: '#9c66bf',
    500: '#6c22a3',
    950: '#000000',
  },
}
SCSS
$custom: #6c22a3;
$custom-light: #9c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22a3",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 274.419,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43627,
    "c": 0.1927,
    "h": 305.6
  },
  "luminance": 0.06977
}

Semantic roles & 50–950 ramp

primary
#6C22A3
secondary
#89C35E
accent
#E83F87
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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