#6816A0#6816A0

#6816A0 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.9% C 0.199 H 305.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6816A0
RGBrgb(104, 22, 160)
HSLhsl(276, 76%, 36%)
HSVhsv(276, 86%, 63%)
CMYKcmyk(35%, 86.3%, 0%, 37.3%)
CIE-LABlab(29.55, 56.84, -56.84)
CIE-LCHlch(29.55, 80.38, 315.00°)
OKLaboklab(41.9% 0.1159 -0.1621)
OKLCHoklch(41.9% 0.199 305.6)
XYZxyz(12.3396, 6.0550, 33.7696)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6816A0 #4EA016
analogous
#2316A0 #6816A0 #A01693
triadic
#6816A0 #A06816 #16A068
tetradic
#6816A0 #A02316 #4EA016 #1693A0
square
#6816A0 #A02316 #4EA016 #1693A0
split-complementary
#6816A0 #93A016 #16A023
monochromatic
#220734 #450F6A #6816A0 #8B1DD6 #A74AE6

Accessibility & contrast

On white

9.50
#6816A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6816A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6816A0
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6816A0#FFFFFF#000000##FFFFFF
##6816A01.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00469D
Tritanopia (blue-blind)
#5D3E5E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6816a0;
/* rgb */ color: rgb(104, 22, 160);
/* oklch */ color: oklch(41.9% 0.199 305.6);
Tailwind
colors: {
  custom: {
    50: '#9961bd',
    500: '#6816a0',
    950: '#000000',
  },
}
SCSS
$custom: #6816a0;
$custom-light: #9961bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6816a0",
  "rgb": {
    "r": 104,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 275.652,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.19925,
    "h": 305.6
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#6816A0
secondary
#7DC84A
accent
#F23582
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6816A0

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

Preview Lab → · Contrast checker → · Palette generator →

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