#6829A4#6829A4

#6829A4 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.9% C 0.185 H 302.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#6829A4
RGBrgb(104, 41, 164)
HSLhsl(271, 60%, 40%)
HSVhsv(271, 75%, 64%)
CMYKcmyk(36.6%, 75%, 0%, 35.7%)
CIE-LABlab(32.28, 50.84, -54.81)
CIE-LCHlch(32.28, 74.76, 312.85°)
OKLaboklab(43.9% 0.0999 -0.1563)
OKLCHoklch(43.9% 0.185 302.6)
XYZxyz(13.2011, 7.2092, 35.8108)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6829A4 #65A429
analogous
#2B29A4 #6829A4 #A429A2
triadic
#6829A4 #A46829 #29A468
tetradic
#6829A4 #A42B29 #65A429 #29A2A4
square
#6829A4 #A42B29 #65A429 #29A2A4
split-complementary
#6829A4 #A2A429 #29A42B
monochromatic
#2A1142 #491D73 #6829A4 #873CCE #A56DDA

Accessibility & contrast

On white

8.60
#6829A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6829A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6829A4
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6829A4#FFFFFF#000000##FFFFFF
##6829A41.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#5B4865
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6829a4;
/* rgb */ color: rgb(104, 41, 164);
/* oklch */ color: oklch(43.9% 0.185 302.6);
Tailwind
colors: {
  custom: {
    50: '#9969c0',
    500: '#6829a4',
    950: '#000000',
  },
}
SCSS
$custom: #6829a4;
$custom-light: #9969c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6829a4",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 270.732,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.18546,
    "h": 302.6
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#6829A4
secondary
#93C168
accent
#E34592
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6829A4

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

Preview Lab → · Contrast checker → · Palette generator →

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