#6822AD#6822AD

#6822AD is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 44.0% C 0.202 H 300.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#6822AD
RGBrgb(104, 34, 173)
HSLhsl(270, 67%, 41%)
HSVhsv(270, 80%, 68%)
CMYKcmyk(39.9%, 80.3%, 0%, 32.2%)
CIE-LABlab(32.04, 55.85, -60.61)
CIE-LCHlch(32.04, 82.42, 312.66°)
OKLaboklab(43.97% 0.1035 -0.1732)
OKLCHoklch(43.97% 0.202 300.8)
XYZxyz(13.8219, 7.1041, 40.1701)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822AD #67AD22
analogous
#2222AD #6822AD #AD22AC
triadic
#6822AD #AD6822 #22AD68
tetradic
#6822AD #AD2222 #67AD22 #22ACAD
square
#6822AD #AD2222 #67AD22 #22ACAD
split-complementary
#6822AD #ACAD22 #22AD22
monochromatic
#2B0E47 #49187A #6822AD #8735D7 #A568E1

Accessibility & contrast

On white

8.67
#6822AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6822AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822AD
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822AD#FFFFFF#000000##FFFFFF
##6822AD1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB1
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#584968
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6822ad;
/* rgb */ color: rgb(104, 34, 173);
/* oklch */ color: oklch(44.0% 0.202 300.8);
Tailwind
colors: {
  custom: {
    50: '#9a66c6',
    500: '#6822ad',
    950: '#000000',
  },
}
SCSS
$custom: #6822ad;
$custom-light: #9a66c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6822ad",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 270.216,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.2018,
    "h": 300.8
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#6822AD
secondary
#95C764
accent
#EA3E93
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6822AD

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

Preview Lab → · Contrast checker → · Palette generator →

#6822AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva