#6822A5#6822A5

#6822A5 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.194 H 303.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6822A5
RGBrgb(104, 34, 165)
HSLhsl(272, 66%, 39%)
HSVhsv(272, 79%, 65%)
CMYKcmyk(37%, 79.4%, 0%, 35.3%)
CIE-LABlab(31.36, 53.96, -56.92)
CIE-LCHlch(31.36, 78.44, 313.47°)
OKLaboklab(43.28% 0.1058 -0.1624)
OKLCHoklch(43.28% 0.194 303.1)
XYZxyz(13.0709, 6.8037, 36.2146)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6822A5 #5FA522
analogous
#2722A5 #6822A5 #A522A1
triadic
#6822A5 #A56822 #22A568
tetradic
#6822A5 #A52722 #5FA522 #22A1A5
square
#6822A5 #A52722 #5FA522 #22A1A5
split-complementary
#6822A5 #A1A522 #22A527
monochromatic
#280D40 #481872 #6822A5 #8830D4 #A563DF

Accessibility & contrast

On white

8.90
#6822A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6822A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6822A5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6822A5#FFFFFF#000000##FFFFFF
##6822A51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#5B4563
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6822a5;
/* rgb */ color: rgb(104, 34, 165);
/* oklch */ color: oklch(43.3% 0.194 303.1);
Tailwind
colors: {
  custom: {
    50: '#9966c1',
    500: '#6822a5',
    950: '#000000',
  },
}
SCSS
$custom: #6822a5;
$custom-light: #9966c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6822a5",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 272.061,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.19382,
    "h": 303.1
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#6822A5
secondary
#8EC45F
accent
#E93F8E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6822A5

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

Preview Lab → · Contrast checker → · Palette generator →

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