#6D22A0#6D22A0

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

Color values

HEX#6D22A0
RGBrgb(109, 34, 160)
HSLhsl(276, 65%, 38%)
HSVhsv(276, 79%, 63%)
CMYKcmyk(31.9%, 78.8%, 0%, 37.3%)
CIE-LABlab(31.66, 53.67, -53.38)
CIE-LCHlch(31.66, 75.69, 315.15°)
OKLaboklab(43.51% 0.1143 -0.1518)
OKLCHoklch(43.51% 0.19 307)
XYZxyz(13.2225, 6.9335, 33.8926)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D22A0 #55A022
analogous
#2E22A0 #6D22A0 #A02294
triadic
#6D22A0 #A06D22 #22A06D
tetradic
#6D22A0 #A02E22 #55A022 #2294A0
square
#6D22A0 #A02E22 #55A022 #2294A0
split-complementary
#6D22A0 #94A022 #22A02E
monochromatic
#280D3B #4B176E #6D22A0 #8F2DD2 #AA5FDD

Accessibility & contrast

On white

8.80
#6D22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D22A0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D22A0#FFFFFF#000000##FFFFFF
##6D22A01.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d22a0;
/* rgb */ color: rgb(109, 34, 160);
/* oklch */ color: oklch(43.5% 0.190 307.0);
Tailwind
colors: {
  custom: {
    50: '#9c66bd',
    500: '#6d22a0',
    950: '#000000',
  },
}
SCSS
$custom: #6d22a0;
$custom-light: #9c66bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d22a0",
  "rgb": {
    "r": 109,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 275.714,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43513,
    "c": 0.19002,
    "h": 307
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#6D22A0
secondary
#85C25C
accent
#E84084
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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