#6819A1#6819A1

#6819A1 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 42.2% C 0.198 H 305.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6819A1
RGBrgb(104, 25, 161)
HSLhsl(275, 73%, 36%)
HSVhsv(275, 84%, 63%)
CMYKcmyk(35.4%, 84.5%, 0%, 36.9%)
CIE-LABlab(29.94, 56.17, -56.81)
CIE-LCHlch(29.94, 79.89, 314.67°)
OKLaboklab(42.19% 0.1136 -0.162)
OKLCHoklch(42.19% 0.198 305)
XYZxyz(12.4881, 6.2116, 34.2524)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6819A1 #52A119
analogous
#2419A1 #6819A1 #A11996
triadic
#6819A1 #A16819 #19A168
tetradic
#6819A1 #A12419 #52A119 #1996A1
square
#6819A1 #A12419 #52A119 #1996A1
split-complementary
#6819A1 #96A119 #19A124
monochromatic
#240937 #46116C #6819A1 #8A21D6 #A650E4

Accessibility & contrast

On white

9.36
#6819A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6819A1
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6819A1#FFFFFF#000000##FFFFFF
##6819A11.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#5D405F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6819a1;
/* rgb */ color: rgb(104, 25, 161);
/* oklch */ color: oklch(42.2% 0.198 305.0);
Tailwind
colors: {
  custom: {
    50: '#9962be',
    500: '#6819a1',
    950: '#000000',
  },
}
SCSS
$custom: #6819a1;
$custom-light: #9962be;
$custom-dark: #000000;
JSON
{
  "hex": "#6819a1",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 274.853,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.19791,
    "h": 305
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#6819A1
secondary
#81C64F
accent
#F03885
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6819A1

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

Preview Lab → · Contrast checker → · Palette generator →

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