#6820A0#6820A0

#6820A0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.7% C 0.191 H 304.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#6820A0
RGBrgb(104, 32, 160)
HSLhsl(274, 67%, 38%)
HSVhsv(274, 80%, 63%)
CMYKcmyk(35%, 80%, 0%, 37.3%)
CIE-LABlab(30.67, 53.55, -55.01)
CIE-LCHlch(30.67, 76.77, 314.23°)
OKLaboklab(42.68% 0.1088 -0.1568)
OKLCHoklch(42.68% 0.191 304.7)
XYZxyz(12.5691, 6.5142, 33.8461)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6820A0 #58A020
analogous
#2820A0 #6820A0 #A02098
triadic
#6820A0 #A06820 #20A068
tetradic
#6820A0 #A02820 #58A020 #2098A0
square
#6820A0 #A02820 #58A020 #2098A0
split-complementary
#6820A0 #98A020 #20A028
monochromatic
#260C3A #47166D #6820A0 #892AD3 #A55CDE

Accessibility & contrast

On white

9.12
#6820A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6820A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6820A0
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6820A0#FFFFFF#000000##FFFFFF
##6820A01.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A3
Deuteranopia (green-blind)
#00489E
Tritanopia (blue-blind)
#5D4260
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6820a0;
/* rgb */ color: rgb(104, 32, 160);
/* oklch */ color: oklch(42.7% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#9965bd',
    500: '#6820a0',
    950: '#000000',
  },
}
SCSS
$custom: #6820a0;
$custom-light: #9965bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6820a0",
  "rgb": {
    "r": 104,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 273.75,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42675,
    "c": 0.19081,
    "h": 304.7
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#6820A0
secondary
#87C359
accent
#EA3E89
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6820A0

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

Preview Lab → · Contrast checker → · Palette generator →

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