#6819A0#6819A0

#6819A0 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.1% C 0.197 H 305.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6819A0
RGBrgb(104, 25, 160)
HSLhsl(275, 73%, 36%)
HSVhsv(275, 84%, 63%)
CMYKcmyk(35%, 84.4%, 0%, 37.3%)
CIE-LABlab(29.85, 55.95, -56.35)
CIE-LCHlch(29.85, 79.41, 314.80°)
OKLaboklab(42.11% 0.114 -0.1607)
OKLCHoklch(42.11% 0.197 305.3)
XYZxyz(12.4003, 6.1765, 33.7898)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6819A0 #51A019
analogous
#2519A0 #6819A0 #A01995
triadic
#6819A0 #A06819 #19A068
tetradic
#6819A0 #A02519 #51A019 #1995A0
square
#6819A0 #A02519 #51A019 #1995A0
split-complementary
#6819A0 #95A019 #19A025
monochromatic
#230836 #46116B #6819A0 #8A21D5 #A650E4

Accessibility & contrast

On white

9.40
#6819A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6819A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6819A0
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6819A0#FFFFFF#000000##FFFFFF
##6819A01.009.402.249.40
#FFFFFF9.401.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6819a0;
/* rgb */ color: rgb(104, 25, 160);
/* oklch */ color: oklch(42.1% 0.197 305.3);
Tailwind
colors: {
  custom: {
    50: '#9962bd',
    500: '#6819a0',
    950: '#000000',
  },
}
SCSS
$custom: #6819a0;
$custom-light: #9962bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6819a0",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 275.111,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.19697,
    "h": 305.3
  },
  "luminance": 0.06176
}

Semantic roles & 50–950 ramp

primary
#6819A0
secondary
#80C64F
accent
#F03884
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6819A0

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

Preview Lab → · Contrast checker → · Palette generator →

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