#6822A3#6822A3

#6822A3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.192 H 303.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6822A3
RGBrgb(104, 34, 163)
HSLhsl(273, 65%, 39%)
HSVhsv(273, 79%, 64%)
CMYKcmyk(36.2%, 79.1%, 0%, 36.1%)
CIE-LABlab(31.19, 53.49, -55.99)
CIE-LCHlch(31.19, 77.44, 313.69°)
OKLaboklab(43.11% 0.1063 -0.1597)
OKLCHoklch(43.11% 0.192 303.7)
XYZxyz(12.8903, 6.7315, 35.2634)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822A3 #5DA322
analogous
#2722A3 #6822A3 #A3229D
triadic
#6822A3 #A36822 #22A368
tetradic
#6822A3 #A32722 #5DA322 #229DA3
square
#6822A3 #A32722 #5DA322 #229DA3
split-complementary
#6822A3 #9DA322 #22A327
monochromatic
#270D3E #481770 #6822A3 #882FD4 #A561DE

Accessibility & contrast

On white

8.95
#6822A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6822A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822A3
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822A3#FFFFFF#000000##FFFFFF
##6822A31.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A7
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#5C4462
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6822a3;
/* rgb */ color: rgb(104, 34, 163);
/* oklch */ color: oklch(43.1% 0.192 303.7);
Tailwind
colors: {
  custom: {
    50: '#9966bf',
    500: '#6822a3',
    950: '#000000',
  },
}
SCSS
$custom: #6822a3;
$custom-light: #9966bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6822a3",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 272.558,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.19182,
    "h": 303.7
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#6822A3
secondary
#8CC35E
accent
#E83F8D
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6822A3

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

Preview Lab → · Contrast checker → · Palette generator →

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