#6D22A3#6D22A3

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

Color values

HEX#6D22A3
RGBrgb(109, 34, 163)
HSLhsl(275, 65%, 39%)
HSVhsv(275, 79%, 64%)
CMYKcmyk(33.1%, 79.1%, 0%, 36.1%)
CIE-LABlab(31.90, 54.35, -54.80)
CIE-LCHlch(31.90, 77.18, 314.76°)
OKLaboklab(43.76% 0.1135 -0.156)
OKLCHoklch(43.76% 0.193 306)
XYZxyz(13.4881, 7.0397, 35.2915)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22A3 #58A322
analogous
#2D22A3 #6D22A3 #A32298
triadic
#6D22A3 #A36D22 #22A36D
tetradic
#6D22A3 #A32D22 #58A322 #2298A3
square
#6D22A3 #A32D22 #58A322 #2298A3
split-complementary
#6D22A3 #98A322 #22A32D
monochromatic
#290D3E #4B1770 #6D22A3 #8F2FD4 #AA61DE

Accessibility & contrast

On white

8.72
#6D22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#6D22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22A3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22A3#FFFFFF#000000##FFFFFF
##6D22A31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d22a3;
/* rgb */ color: rgb(109, 34, 163);
/* oklch */ color: oklch(43.8% 0.193 306.0);
Tailwind
colors: {
  custom: {
    50: '#9c66bf',
    500: '#6d22a3',
    950: '#000000',
  },
}
SCSS
$custom: #6d22a3;
$custom-light: #9c66bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22a3",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 274.884,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.19294,
    "h": 306
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#6D22A3
secondary
#88C35E
accent
#E83F86
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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