#6D22A6#6D22A6

#6D22A6 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 44.0% C 0.196 H 305.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#6D22A6
RGBrgb(109, 34, 166)
HSLhsl(274, 66%, 39%)
HSVhsv(274, 80%, 65%)
CMYKcmyk(34.3%, 79.5%, 0%, 34.9%)
CIE-LABlab(32.14, 55.03, -56.21)
CIE-LCHlch(32.14, 78.67, 314.39°)
OKLaboklab(44.01% 0.1128 -0.1601)
OKLCHoklch(44.01% 0.196 305.1)
XYZxyz(13.7601, 7.1485, 36.7239)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22A6 #5BA622
analogous
#2B22A6 #6D22A6 #A6229D
triadic
#6D22A6 #A66D22 #22A66D
tetradic
#6D22A6 #A62B22 #5BA622 #229DA6
square
#6D22A6 #A62B22 #5BA622 #229DA6
split-complementary
#6D22A6 #9DA622 #22A62B
monochromatic
#2A0D40 #4C1873 #6D22A6 #8E30D5 #AA63DF

Accessibility & contrast

On white

8.64
#6D22A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#6D22A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22A6
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22A6#FFFFFF#000000##FFFFFF
##6D22A61.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAA
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#624564
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6d22a6;
/* rgb */ color: rgb(109, 34, 166);
/* oklch */ color: oklch(44.0% 0.196 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d67c1',
    500: '#6d22a6',
    950: '#000000',
  },
}
SCSS
$custom: #6d22a6;
$custom-light: #9d67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22a6",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 274.091,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.19586,
    "h": 305.1
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#6D22A6
secondary
#8BC45F
accent
#E93F88
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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