#6822A0#6822A0

#6822A0 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.189 H 304.6°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6822A0
RGBrgb(104, 34, 160)
HSLhsl(273, 65%, 38%)
HSVhsv(273, 79%, 63%)
CMYKcmyk(35%, 78.8%, 0%, 37.3%)
CIE-LABlab(30.94, 52.79, -54.58)
CIE-LCHlch(30.94, 75.93, 314.05°)
OKLaboklab(42.86% 0.1071 -0.1555)
OKLCHoklch(42.86% 0.189 304.6)
XYZxyz(12.6247, 6.6252, 33.8646)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822A0 #5AA022
analogous
#2922A0 #6822A0 #A02299
triadic
#6822A0 #A06822 #22A068
tetradic
#6822A0 #A02922 #5AA022 #2299A0
square
#6822A0 #A02922 #5AA022 #2299A0
split-complementary
#6822A0 #99A022 #22A029
monochromatic
#260D3B #47176E #6822A0 #892DD2 #A55FDD

Accessibility & contrast

On white

9.03
#6822A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6822A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822A0
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822A0#FFFFFF#000000##FFFFFF
##6822A01.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#5D4361
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6822a0;
/* rgb */ color: rgb(104, 34, 160);
/* oklch */ color: oklch(42.9% 0.189 304.6);
Tailwind
colors: {
  custom: {
    50: '#9966bd',
    500: '#6822a0',
    950: '#000000',
  },
}
SCSS
$custom: #6822a0;
$custom-light: #9966bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6822a0",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 273.333,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.18884,
    "h": 304.6
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#6822A0
secondary
#89C25C
accent
#E8408B
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6822A0

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

Preview Lab → · Contrast checker → · Palette generator →

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