#6D22A1#6D22A1

#6D22A1 is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.6% C 0.191 H 306.7°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#6D22A1
RGBrgb(109, 34, 161)
HSLhsl(275, 65%, 38%)
HSVhsv(275, 79%, 63%)
CMYKcmyk(32.3%, 78.9%, 0%, 36.9%)
CIE-LABlab(31.74, 53.89, -53.85)
CIE-LCHlch(31.74, 76.19, 315.02°)
OKLaboklab(43.59% 0.114 -0.1532)
OKLCHoklch(43.59% 0.191 306.7)
XYZxyz(13.3103, 6.9686, 34.3552)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22A1 #56A122
analogous
#2D22A1 #6D22A1 #A12295
triadic
#6D22A1 #A16D22 #22A16D
tetradic
#6D22A1 #A12D22 #56A122 #2295A1
square
#6D22A1 #A12D22 #56A122 #2295A1
split-complementary
#6D22A1 #95A122 #22A12D
monochromatic
#290D3C #4B176E #6D22A1 #8F2DD3 #AA60DD

Accessibility & contrast

On white

8.77
#6D22A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6D22A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D22A1
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22A1#FFFFFF#000000##FFFFFF
##6D22A11.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#644361
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6d22a1;
/* rgb */ color: rgb(109, 34, 161);
/* oklch */ color: oklch(43.6% 0.191 306.7);
Tailwind
colors: {
  custom: {
    50: '#9c66be',
    500: '#6d22a1',
    950: '#000000',
  },
}
SCSS
$custom: #6d22a1;
$custom-light: #9c66be;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22a1",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 275.433,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43594,
    "c": 0.191,
    "h": 306.7
  },
  "luminance": 0.06968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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