#6822A7#6822A7

#6822A7 is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.196 H 302.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#6822A7
RGBrgb(104, 34, 167)
HSLhsl(272, 66%, 39%)
HSVhsv(272, 80%, 65%)
CMYKcmyk(37.7%, 79.6%, 0%, 34.5%)
CIE-LABlab(31.53, 54.43, -57.85)
CIE-LCHlch(31.53, 79.43, 313.26°)
OKLaboklab(43.45% 0.1052 -0.1651)
OKLCHoklch(43.45% 0.196 302.5)
XYZxyz(13.2543, 6.8771, 37.1809)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822A7 #61A722
analogous
#2622A7 #6822A7 #A722A4
triadic
#6822A7 #A76822 #22A768
tetradic
#6822A7 #A72622 #61A722 #22A4A7
square
#6822A7 #A72622 #61A722 #22A4A7
split-complementary
#6822A7 #A4A722 #22A726
monochromatic
#290D41 #481874 #6822A7 #8731D5 #A564DF

Accessibility & contrast

On white

8.84
#6822A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6822A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822A7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822A7#FFFFFF#000000##FFFFFF
##6822A71.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#004AA4
Tritanopia (blue-blind)
#5B4665
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6822a7;
/* rgb */ color: rgb(104, 34, 167);
/* oklch */ color: oklch(43.5% 0.196 302.5);
Tailwind
colors: {
  custom: {
    50: '#9966c2',
    500: '#6822a7',
    950: '#000000',
  },
}
SCSS
$custom: #6822a7;
$custom-light: #9966c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6822a7",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 271.579,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.19582,
    "h": 302.5
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

primary
#6822A7
secondary
#90C560
accent
#E93F8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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