#6820A9#6820A9

#6820A9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.4% C 0.200 H 302.1°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6820A9
RGBrgb(104, 32, 169)
HSLhsl(272, 68%, 39%)
HSVhsv(272, 81%, 66%)
CMYKcmyk(38.5%, 81.1%, 0%, 33.7%)
CIE-LABlab(31.44, 55.65, -59.19)
CIE-LCHlch(31.44, 81.24, 313.23°)
OKLaboklab(43.45% 0.1062 -0.1691)
OKLCHoklch(43.45% 0.2 302.1)
XYZxyz(13.3851, 6.8406, 38.1436)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6820A9 #61A920
analogous
#2420A9 #6820A9 #A920A6
triadic
#6820A9 #A96820 #20A968
tetradic
#6820A9 #A92420 #61A920 #20A6A9
square
#6820A9 #A92420 #61A920 #20A6A9
split-complementary
#6820A9 #A6A920 #20A924
monochromatic
#290D42 #481676 #6820A9 #872FD8 #A562E1

Accessibility & contrast

On white

8.87
#6820A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6820A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6820A9
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6820A9#FFFFFF#000000##FFFFFF
##6820A91.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0049A6
Tritanopia (blue-blind)
#5A4665
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6820a9;
/* rgb */ color: rgb(104, 32, 169);
/* oklch */ color: oklch(43.4% 0.200 302.1);
Tailwind
colors: {
  custom: {
    50: '#9a65c4',
    500: '#6820a9',
    950: '#000000',
  },
}
SCSS
$custom: #6820a9;
$custom-light: #9a65c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6820a9",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 271.533,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43447,
    "c": 0.19965,
    "h": 302.1
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#6820A9
secondary
#90C65F
accent
#EB3D8F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0613
muted
#7E7A82

Preview Lab

Preview with #6820A9

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

Preview Lab → · Contrast checker → · Palette generator →

#6820A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva