#6829A7#6829A7

#6829A7 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.189 H 301.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#6829A7
RGBrgb(104, 41, 167)
HSLhsl(270, 61%, 41%)
HSVhsv(270, 75%, 65%)
CMYKcmyk(37.7%, 75.4%, 0%, 34.5%)
CIE-LABlab(32.52, 51.57, -56.23)
CIE-LCHlch(32.52, 76.29, 312.53°)
OKLaboklab(44.15% 0.0992 -0.1604)
OKLCHoklch(44.15% 0.189 301.7)
XYZxyz(13.4752, 7.3189, 37.2545)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A7 #68A729
analogous
#2929A7 #6829A7 #A729A7
triadic
#6829A7 #A76829 #29A768
tetradic
#6829A7 #A72929 #68A729 #29A7A7
square
#6829A7 #A72929 #68A729 #29A7A7
split-complementary
#6829A7 #A7A729 #29A729
monochromatic
#2B1145 #491D76 #6829A7 #873ED0 #A56FDC

Accessibility & contrast

On white

8.52
#6829A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#6829A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A7
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A7#FFFFFF#000000##FFFFFF
##6829A71.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#5A4966
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6829a7;
/* rgb */ color: rgb(104, 41, 167);
/* oklch */ color: oklch(44.2% 0.189 301.7);
Tailwind
colors: {
  custom: {
    50: '#9969c2',
    500: '#6829a7',
    950: '#000000',
  },
}
SCSS
$custom: #6829a7;
$custom-light: #9969c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a7",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 167
  },
  "hsl": {
    "h": 270,
    "s": 60.577,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.18861,
    "h": 301.7
  },
  "luminance": 0.07319
}

Semantic roles & 50–950 ramp

primary
#6829A7
secondary
#96C269
accent
#E44494
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6829A7

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

Preview Lab → · Contrast checker → · Palette generator →

#6829A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva