#6C22AC#6C22AC

#6C22AC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.4% C 0.202 H 303.0°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#6C22AC
RGBrgb(108, 34, 172)
HSLhsl(272, 67%, 40%)
HSVhsv(272, 80%, 67%)
CMYKcmyk(37.2%, 80.2%, 0%, 32.5%)
CIE-LABlab(32.50, 56.25, -59.23)
CIE-LCHlch(32.50, 81.69, 313.52°)
OKLaboklab(44.38% 0.1097 -0.1691)
OKLCHoklch(44.38% 0.202 303)
XYZxyz(14.2010, 7.3107, 39.6847)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22AC #62AC22
analogous
#2722AC #6C22AC #AC22A7
triadic
#6C22AC #AC6C22 #22AC6C
tetradic
#6C22AC #AC2722 #62AC22 #22A7AC
square
#6C22AC #AC2722 #62AC22 #22A7AC
split-complementary
#6C22AC #A7AC22 #22AC27
monochromatic
#2C0E46 #4C1879 #6C22AC #8B34D7 #A967E1

Accessibility & contrast

On white

8.53
#6C22AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6C22AC
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22AC#FFFFFF#000000##FFFFFF
##6C22AC1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB0
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#5F4868
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6c22ac;
/* rgb */ color: rgb(108, 34, 172);
/* oklch */ color: oklch(44.4% 0.202 303.0);
Tailwind
colors: {
  custom: {
    50: '#9c67c6',
    500: '#6c22ac',
    950: '#000000',
  },
}
SCSS
$custom: #6c22ac;
$custom-light: #9c67c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22ac",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 172
  },
  "hsl": {
    "h": 272.174,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44384,
    "c": 0.20152,
    "h": 303
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#6C22AC
secondary
#91C763
accent
#EA3E8E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6C22AC

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

Preview Lab → · Contrast checker → · Palette generator →

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