#6722A6#6722A6

#6722A6 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.195 H 302.3°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#6722A6
RGBrgb(103, 34, 166)
HSLhsl(271, 66%, 39%)
HSVhsv(271, 80%, 65%)
CMYKcmyk(38%, 79.5%, 0%, 34.9%)
CIE-LABlab(31.30, 54.03, -57.62)
CIE-LCHlch(31.30, 78.99, 313.16°)
OKLaboklab(43.24% 0.104 -0.1645)
OKLCHoklch(43.24% 0.195 302.3)
XYZxyz(13.0468, 6.7808, 36.6905)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6722A6 #61A622
analogous
#2522A6 #6722A6 #A622A3
triadic
#6722A6 #A66722 #22A667
tetradic
#6722A6 #A62522 #61A622 #22A3A6
square
#6722A6 #A62522 #61A622 #22A3A6
split-complementary
#6722A6 #A3A622 #22A625
monochromatic
#280D40 #471873 #6722A6 #8630D5 #A463DF

Accessibility & contrast

On white

8.91
#6722A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6722A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6722A6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6722A6#FFFFFF#000000##FFFFFF
##6722A61.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#594664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6722a6;
/* rgb */ color: rgb(103, 34, 166);
/* oklch */ color: oklch(43.2% 0.195 302.3);
Tailwind
colors: {
  custom: {
    50: '#9966c1',
    500: '#6722a6',
    950: '#000000',
  },
}
SCSS
$custom: #6722a6;
$custom-light: #9966c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6722a6",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 271.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43241,
    "c": 0.19463,
    "h": 302.3
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#6722A6
secondary
#90C45F
accent
#E93F90
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6722A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6722A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva