#6822AF#6822AF

#6822AF is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.1% C 0.204 H 300.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6822AF
RGBrgb(104, 34, 175)
HSLhsl(270, 67%, 41%)
HSVhsv(270, 81%, 69%)
CMYKcmyk(40.6%, 80.6%, 0%, 31.4%)
CIE-LABlab(32.22, 56.33, -61.52)
CIE-LCHlch(32.22, 83.41, 312.48°)
OKLaboklab(44.15% 0.1029 -0.1759)
OKLCHoklch(44.15% 0.204 300.3)
XYZxyz(14.0169, 7.1821, 41.1969)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822AF #69AF22
analogous
#2223AF #6822AF #AE22AF
triadic
#6822AF #AF6822 #22AF68
tetradic
#6822AF #AF2223 #69AF22 #22AFAE
square
#6822AF #AF2223 #69AF22 #22AFAE
split-complementary
#6822AF #AFAE22 #23AF22
monochromatic
#2B0E49 #4A187C #6822AF #8736D8 #A569E2

Accessibility & contrast

On white

8.62
#6822AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6822AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822AF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822AF#FFFFFF#000000##FFFFFF
##6822AF1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#574969
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6822af;
/* rgb */ color: rgb(104, 34, 175);
/* oklch */ color: oklch(44.1% 0.204 300.3);
Tailwind
colors: {
  custom: {
    50: '#9a66c8',
    500: '#6822af',
    950: '#000000',
  },
}
SCSS
$custom: #6822af;
$custom-light: #9a66c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6822af",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 269.787,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44148,
    "c": 0.20379,
    "h": 300.3
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#6822AF
secondary
#97C865
accent
#EA3D95
background
#FAF6FC
surface
#F3EBF8
border
#CDC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6822AF

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

Preview Lab → · Contrast checker → · Palette generator →

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