#6816A1#6816A1

#6816A1 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 42.0% C 0.200 H 305.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#6816A1
RGBrgb(104, 22, 161)
HSLhsl(275, 76%, 36%)
HSVhsv(275, 86%, 63%)
CMYKcmyk(35.4%, 86.3%, 0%, 36.9%)
CIE-LABlab(29.64, 57.06, -57.31)
CIE-LCHlch(29.64, 80.87, 314.87°)
OKLaboklab(41.98% 0.1156 -0.1635)
OKLCHoklch(41.98% 0.2 305.3)
XYZxyz(12.4274, 6.0902, 34.2321)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6816A1 #4FA116
analogous
#2316A1 #6816A1 #A11694
triadic
#6816A1 #A16816 #16A168
tetradic
#6816A1 #A12316 #4FA116 #1694A1
square
#6816A1 #A12316 #4FA116 #1694A1
split-complementary
#6816A1 #94A116 #16A123
monochromatic
#220735 #450F6B #6816A1 #8B1DD7 #A74BE6

Accessibility & contrast

On white

9.47
#6816A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6816A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6816A1
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6816A1#FFFFFF#000000##FFFFFF
##6816A11.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#5D3F5F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6816a1;
/* rgb */ color: rgb(104, 22, 161);
/* oklch */ color: oklch(42.0% 0.200 305.3);
Tailwind
colors: {
  custom: {
    50: '#9961be',
    500: '#6816a1',
    950: '#000000',
  },
}
SCSS
$custom: #6816a1;
$custom-light: #9961be;
$custom-dark: #000000;
JSON
{
  "hex": "#6816a1",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 275.396,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.20017,
    "h": 305.3
  },
  "luminance": 0.0609
}

Semantic roles & 50–950 ramp

primary
#6816A1
secondary
#7EC84B
accent
#F33583
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6816A1

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

Preview Lab → · Contrast checker → · Palette generator →

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