#6722AA#6722AA

#6722AA is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.6% C 0.199 H 301.2°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6722AA
RGBrgb(103, 34, 170)
HSLhsl(270, 67%, 40%)
HSVhsv(270, 80%, 67%)
CMYKcmyk(39.4%, 80%, 0%, 33.3%)
CIE-LABlab(31.65, 54.98, -59.46)
CIE-LCHlch(31.65, 80.99, 312.76°)
OKLaboklab(43.59% 0.1029 -0.1699)
OKLCHoklch(43.59% 0.199 301.2)
XYZxyz(13.4195, 6.9298, 38.6530)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6722AA #65AA22
analogous
#2322AA #6722AA #AA22A9
triadic
#6722AA #AA6722 #22AA67
tetradic
#6722AA #AA2322 #65AA22 #22A9AA
square
#6722AA #AA2322 #65AA22 #22A9AA
split-complementary
#6722AA #A9AA22 #22AA23
monochromatic
#290E44 #481877 #6722AA #8633D6 #A466E0

Accessibility & contrast

On white

8.80
#6722AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6722AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6722AA#FFFFFF#000000##FFFFFF
##6722AA1.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)
#004AAE
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#584766
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6722aa;
/* rgb */ color: rgb(103, 34, 170);
/* oklch */ color: oklch(43.6% 0.199 301.2);
Tailwind
colors: {
  custom: {
    50: '#9966c4',
    500: '#6722aa',
    950: '#000000',
  },
}
SCSS
$custom: #6722aa;
$custom-light: #9966c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6722aa",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 270.441,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.43587,
    "c": 0.19864,
    "h": 301.2
  },
  "luminance": 0.0693
}

Semantic roles & 50–950 ramp

primary
#6722AA
secondary
#93C662
accent
#EA3E93
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6722AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6722AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva