#6C22A0#6C22A0

#6C22A0 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.4% C 0.190 H 306.5°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6C22A0
RGBrgb(108, 34, 160)
HSLhsl(275, 65%, 38%)
HSVhsv(275, 79%, 63%)
CMYKcmyk(32.5%, 78.8%, 0%, 37.3%)
CIE-LABlab(31.51, 53.49, -53.62)
CIE-LCHlch(31.51, 75.74, 314.93°)
OKLaboklab(43.38% 0.1128 -0.1526)
OKLCHoklch(43.38% 0.19 306.5)
XYZxyz(13.1001, 6.8704, 33.8869)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C22A0 #56A022
analogous
#2D22A0 #6C22A0 #A02295
triadic
#6C22A0 #A06C22 #22A06C
tetradic
#6C22A0 #A02D22 #56A022 #2295A0
square
#6C22A0 #A02D22 #56A022 #2295A0
split-complementary
#6C22A0 #95A022 #22A02D
monochromatic
#280D3B #4A176E #6C22A0 #8E2DD2 #A95FDD

Accessibility & contrast

On white

8.85
#6C22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6C22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C22A0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C22A0#FFFFFF#000000##FFFFFF
##6C22A01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#634261
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6c22a0;
/* rgb */ color: rgb(108, 34, 160);
/* oklch */ color: oklch(43.4% 0.190 306.5);
Tailwind
colors: {
  custom: {
    50: '#9b66bd',
    500: '#6c22a0',
    950: '#000000',
  },
}
SCSS
$custom: #6c22a0;
$custom-light: #9b66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6c22a0",
  "rgb": {
    "r": 108,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 275.238,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.18977,
    "h": 306.5
  },
  "luminance": 0.0687
}

Semantic roles & 50–950 ramp

primary
#6C22A0
secondary
#86C25C
accent
#E84085
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6C22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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