#6C22AF#6C22AF

#6C22AF is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.6% C 0.204 H 302.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#6C22AF
RGBrgb(108, 34, 175)
HSLhsl(271, 67%, 41%)
HSVhsv(271, 81%, 69%)
CMYKcmyk(38.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(32.76, 56.94, -60.61)
CIE-LCHlch(32.76, 83.16, 313.21°)
OKLaboklab(44.64% 0.1088 -0.1731)
OKLCHoklch(44.64% 0.204 302.1)
XYZxyz(14.4924, 7.4273, 41.2192)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22AF #65AF22
analogous
#2522AF #6C22AF #AF22AB
triadic
#6C22AF #AF6C22 #22AF6C
tetradic
#6C22AF #AF2522 #65AF22 #22ABAF
square
#6C22AF #AF2522 #65AF22 #22ABAF
split-complementary
#6C22AF #ABAF22 #22AF25
monochromatic
#2D0E49 #4C187C #6C22AF #8B36D8 #A969E2

Accessibility & contrast

On white

8.45
#6C22AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6C22AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22AF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22AF#FFFFFF#000000##FFFFFF
##6C22AF1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#5D4969
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6c22af;
/* rgb */ color: rgb(108, 34, 175);
/* oklch */ color: oklch(44.6% 0.204 302.1);
Tailwind
colors: {
  custom: {
    50: '#9d67c8',
    500: '#6c22af',
    950: '#000000',
  },
}
SCSS
$custom: #6c22af;
$custom-light: #9d67c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22af",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 271.489,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.20446,
    "h": 302.1
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#6C22AF
secondary
#94C865
accent
#EA3D90
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C22AF

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

Preview Lab → · Contrast checker → · Palette generator →

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