#6820A1#6820A1

#6820A1 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.192 H 304.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6820A1
RGBrgb(104, 32, 161)
HSLhsl(273, 67%, 38%)
HSVhsv(273, 80%, 63%)
CMYKcmyk(35.4%, 80.1%, 0%, 36.9%)
CIE-LABlab(30.76, 53.79, -55.48)
CIE-LCHlch(30.76, 77.27, 314.11°)
OKLaboklab(42.76% 0.1085 -0.1582)
OKLCHoklch(42.76% 0.192 304.4)
XYZxyz(12.6570, 6.5493, 34.3087)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6820A1 #59A120
analogous
#2720A1 #6820A1 #A12099
triadic
#6820A1 #A16820 #20A168
tetradic
#6820A1 #A12720 #59A120 #2099A1
square
#6820A1 #A12720 #59A120 #2099A1
split-complementary
#6820A1 #99A120 #20A127
monochromatic
#260C3B #47166E #6820A1 #892AD4 #A55DDF

Accessibility & contrast

On white

9.09
#6820A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6820A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6820A1
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6820A1#FFFFFF#000000##FFFFFF
##6820A11.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#5D4261
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6820a1;
/* rgb */ color: rgb(104, 32, 161);
/* oklch */ color: oklch(42.8% 0.192 304.4);
Tailwind
colors: {
  custom: {
    50: '#9965be',
    500: '#6820a1',
    950: '#000000',
  },
}
SCSS
$custom: #6820a1;
$custom-light: #9965be;
$custom-dark: #000000;
JSON
{
  "hex": "#6820a1",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 273.488,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.19179,
    "h": 304.4
  },
  "luminance": 0.06549
}

Semantic roles & 50–950 ramp

primary
#6820A1
secondary
#88C35A
accent
#EA3E8A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6820A1

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

Preview Lab → · Contrast checker → · Palette generator →

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