#6819B4#6819B4

#6819B4 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.9% C 0.216 H 299.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#6819B4
RGBrgb(104, 25, 180)
HSLhsl(271, 76%, 40%)
HSVhsv(271, 86%, 71%)
CMYKcmyk(42.2%, 86.1%, 0%, 29.4%)
CIE-LABlab(31.65, 60.48, -65.43)
CIE-LCHlch(31.65, 89.10, 312.75°)
OKLaboklab(43.9% 0.1071 -0.1873)
OKLCHoklch(43.9% 0.216 299.8)
XYZxyz(14.2927, 6.9334, 43.7564)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6819B4 #65B419
analogous
#1B19B4 #6819B4 #B419B2
triadic
#6819B4 #B46819 #19B468
tetradic
#6819B4 #B41B19 #65B419 #19B2B4
square
#6819B4 #B41B19 #65B419 #19B2B4
split-complementary
#6819B4 #B2B419 #19B41B
monochromatic
#2A0A49 #49127E #6819B4 #8729E1 #A55FE9

Accessibility & contrast

On white

8.80
#6819B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6819B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6819B4
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6819B4#FFFFFF#000000##FFFFFF
##6819B41.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB8
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#55486B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6819b4;
/* rgb */ color: rgb(104, 25, 180);
/* oklch */ color: oklch(43.9% 0.216 299.8);
Tailwind
colors: {
  custom: {
    50: '#9b63cc',
    500: '#6819b4',
    950: '#000000',
  },
}
SCSS
$custom: #6819b4;
$custom-light: #9b63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6819b4",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 270.581,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43897,
    "c": 0.21574,
    "h": 299.8
  },
  "luminance": 0.06934
}

Semantic roles & 50–950 ramp

primary
#6819B4
secondary
#93CD5C
accent
#F23692
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6819B4

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

Preview Lab → · Contrast checker → · Palette generator →

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