#6829AB#6829AB

#6829AB is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.5% C 0.193 H 300.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#6829AB
RGBrgb(104, 41, 171)
HSLhsl(269, 61%, 42%)
HSVhsv(269, 76%, 67%)
CMYKcmyk(39.2%, 76%, 0%, 32.9%)
CIE-LABlab(32.85, 52.55, -58.09)
CIE-LCHlch(32.85, 78.33, 312.13°)
OKLaboklab(44.49% 0.0983 -0.1659)
OKLCHoklch(44.49% 0.193 300.6)
XYZxyz(13.8507, 7.4691, 39.2321)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829AB #6CAB29
analogous
#292BAB #6829AB #A929AB
triadic
#6829AB #AB6829 #29AB68
tetradic
#6829AB #AB292B #6CAB29 #29ABA9
square
#6829AB #AB292B #6CAB29 #29ABA9
split-complementary
#6829AB #ABA929 #2BAB29
monochromatic
#2C1148 #4A1D7A #6829AB #8640D1 #A671DD

Accessibility & contrast

On white

8.42
#6829AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#6829AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829AB
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829AB#FFFFFF#000000##FFFFFF
##6829AB1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#594B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6829ab;
/* rgb */ color: rgb(104, 41, 171);
/* oklch */ color: oklch(44.5% 0.193 300.6);
Tailwind
colors: {
  custom: {
    50: '#996ac5',
    500: '#6829ab',
    950: '#000000',
  },
}
SCSS
$custom: #6829ab;
$custom-light: #996ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#6829ab",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 269.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44485,
    "c": 0.19281,
    "h": 300.6
  },
  "luminance": 0.07469
}

Semantic roles & 50–950 ramp

primary
#6829AB
secondary
#99C46C
accent
#E44396
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6829AB

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

Preview Lab → · Contrast checker → · Palette generator →

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